Revert the DataGrid style of CSV #1664
Some checks are pending
MSBuild / build (push) Waiting to run
MSBuild / publish (push) Blocked by required conditions

This commit is contained in:
ema
2025-06-14 16:28:24 +08:00
parent 04c7ed931f
commit 679b00fe71
2 changed files with 365 additions and 4 deletions

View File

@@ -8,12 +8,19 @@
d:DesignHeight="300"
d:DesignWidth="300"
mc:Ignorable="d">
<UserControl.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="DataGrid.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</UserControl.Resources>
<Grid>
<DataGrid x:Name="dataGrid"
AlternatingRowBackground="#1900BFFF"
<DataGrid Name="dataGrid"
AlternatingRowBackground="#1900FF70"
AlternationCount="2"
AutoGenerateColumns="False"
Background="Transparent"
Background="#00FFFFFF"
BorderThickness="0"
CanUserReorderColumns="False"
Foreground="{DynamicResource WindowTextForeground}"
@@ -21,7 +28,7 @@
HorizontalGridLinesBrush="#19000000"
IsReadOnly="True"
ItemsSource="{Binding Path=Rows, ElementName=csvViewer}"
RowBackground="Transparent"
RowBackground="#00FFFFFF"
VerticalGridLinesBrush="#19000000" />
</Grid>
</UserControl>