Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dominiquesavoie committed Sep 2, 2021
2 parents 5a09881 + a473780 commit e55aa85
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion ED-Router.UI.Desktop/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,22 @@
<converters:BoolToVisibilityConverter x:Key="BoolToVisibilityConverter"/>
<converters:VisibleAndMultiConverter x:Key="MultiVisibilityConverter"/>
<converters:AnyToBoolConverter x:Key="AnyToBoolConverter"/>
<Style TargetType="{x:Type DataGridRow}">
<Style.Triggers>
<Trigger Property="IsSelected" Value="True">
<Setter Property="Background" Value="DimGray"/>
<Setter Property="Foreground" Value="White"/>
</Trigger>
</Style.Triggers>
</Style>
<Style TargetType="{x:Type DataGridCell}">
<Style.Triggers>
<Trigger Property="IsSelected" Value="True">
<Setter Property="Background" Value="DimGray"/>
<Setter Property="Foreground" Value="White"/>
</Trigger>
</Style.Triggers>
</Style>
</Window.Resources>
<Window.DataContext>
<ViewModel:MainViewModel/>
Expand Down Expand Up @@ -140,7 +156,7 @@
<DataGrid Grid.Row="2"
Grid.Column="1"
HorizontalAlignment="Stretch"
Margin="10"
Margin="10"
VerticalAlignment="Stretch"
ItemsSource="{Binding Router.Route.SystemsInRoute}"
IsReadOnly="True"
Expand Down

0 comments on commit e55aa85

Please sign in to comment.