Browse Source

Simplify brushes

pull/2334/head
tom-englert 4 years ago
parent
commit
3328fe39d5
  1. 12
      ILSpy/Controls/ResourceStringTable.xaml

12
ILSpy/Controls/ResourceStringTable.xaml

@ -13,16 +13,8 @@
<Grid Margin="5,0,0,0"> <Grid Margin="5,0,0,0">
<Grid.Resources> <Grid.Resources>
<AlternationConverter x:Key="BackgroundConverter"> <AlternationConverter x:Key="BackgroundConverter">
<VisualBrush> <SolidColorBrush Color="Transparent" />
<VisualBrush.Visual> <SolidColorBrush Color="#CCCC33" Opacity="0.15" />
<Border Width="1" Height="1" Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"/>
</VisualBrush.Visual>
</VisualBrush>
<VisualBrush Opacity=".15">
<VisualBrush.Visual>
<Border Width="1" Height="1" Background="#CCCC33"/>
</VisualBrush.Visual>
</VisualBrush>
</AlternationConverter> </AlternationConverter>
<Style x:Key="alternatingWithBinding" <Style x:Key="alternatingWithBinding"
TargetType="{x:Type ListViewItem}" BasedOn="{StaticResource {x:Type ListViewItem}}"> TargetType="{x:Type ListViewItem}" BasedOn="{StaticResource {x:Type ListViewItem}}">

Loading…
Cancel
Save