mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add alternating row styles to DataGrid in ImageVerify.xaml for improved readability
This commit is contained in:
@@ -50,6 +50,21 @@
|
||||
<Design.DataContext>
|
||||
<windows:ImageVerifyViewModel />
|
||||
</Design.DataContext>
|
||||
<Window.Styles>
|
||||
<Style Selector="DataGridRow:nth-child(2n)">
|
||||
<Setter Property="Background">
|
||||
<SolidColorBrush Color="#15FFFFFF" />
|
||||
</Setter>
|
||||
</Style>
|
||||
<Style Selector="DataGridRow:nth-child(2n):pointerover">
|
||||
<Setter Property="Background"
|
||||
Value="{DynamicResource SystemControlHighlightListLowBrush}" />
|
||||
</Style>
|
||||
<Style Selector="DataGridRow:nth-child(2n):selected">
|
||||
<Setter Property="Background"
|
||||
Value="{DynamicResource SystemControlHighlightAccentBrush}" />
|
||||
</Style>
|
||||
</Window.Styles>
|
||||
<Grid RowDefinitions="Auto,*,Auto"
|
||||
RowSpacing="8"
|
||||
Margin="12">
|
||||
|
||||
Reference in New Issue
Block a user