Fix CSV text colour in the dark mode

This commit is contained in:
Paddy Xu
2020-05-03 23:01:04 +03:00
parent 38cffa1874
commit de105500c8

View File

@@ -8,10 +8,10 @@
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300">
<Grid>
<DataGrid x:Name="dataGrid" AlternationCount="2" BorderThickness="0" Background="Transparent"
<DataGrid x:Name="dataGrid" AlternationCount="2" BorderThickness="0" Background="Transparent" Foreground="{DynamicResource WindowTextForeground}"
RowBackground="Transparent" IsReadOnly="True" HeadersVisibility="None" AutoGenerateColumns="False"
CanUserReorderColumns="False" ItemsSource="{Binding Path=Rows,ElementName=csvViewer}"
AlternatingRowBackground="#99D8D8D8" HorizontalGridLinesBrush="#FFBDBDBD" VerticalGridLinesBrush="#FFBDBDBD" />
AlternatingRowBackground="#1900FF70" HorizontalGridLinesBrush="#19000000" VerticalGridLinesBrush="#19000000" />
</Grid>
</UserControl>