|
643 | 643 | CellEditEnded="AllView_CellEditEnded"
|
644 | 644 | CellEditEnding="AllView_CellEditEnding"
|
645 | 645 | ClipboardCopyMode="None"
|
| 646 | + ColumnHeaderHeight="38" |
646 | 647 | DoubleTapped="{x:Bind ParentShellPageInstance.InteractionOperations.List_ItemDoubleClick}"
|
647 | 648 | DragOver="List_DragOver"
|
648 | 649 | Drop="List_Drop"
|
|
662 | 663 | SelectionMode="Extended"
|
663 | 664 | Sorting="AllView_Sorting">
|
664 | 665 | <controls:DataGrid.Resources>
|
665 |
| - <SolidColorBrush x:Key="DataGridCellFocusVisualPrimaryBrush" Color="Transparent" /> |
666 |
| - <SolidColorBrush x:Key="DataGridCellFocusVisualSecondaryBrush" Color="Transparent" /> |
667 |
| - <StaticResource x:Key="DataGridColumnHeaderBackgroundColor" ResourceKey="SystemControlTransparentBrush" /> |
| 666 | + <ResourceDictionary> |
| 667 | + <ResourceDictionary.ThemeDictionaries> |
| 668 | + <ResourceDictionary x:Key="Light"> |
| 669 | + <SolidColorBrush x:Key="GridLinesBrush" Color="#edebe9" /> |
| 670 | + <Color x:Key="DataGridColumnHeaderBackgroundColor">White</Color> |
| 671 | + </ResourceDictionary> |
| 672 | + <ResourceDictionary x:Key="Dark"> |
| 673 | + <SolidColorBrush x:Key="GridLinesBrush" Color="#3b3a39" /> |
| 674 | + <Color x:Key="DataGridColumnHeaderBackgroundColor">#201F1E</Color> |
| 675 | + </ResourceDictionary> |
| 676 | + <ResourceDictionary x:Key="HighContrast"> |
| 677 | + <SolidColorBrush x:Key="GridLinesBrush" Color="{StaticResource SystemColorWindowTextColor}" /> |
| 678 | + <StaticResource x:Key="DataGridColumnHeaderBackgroundColor" ResourceKey="SystemColorWindowColor" /> |
| 679 | + </ResourceDictionary> |
| 680 | + </ResourceDictionary.ThemeDictionaries> |
| 681 | + <ResourceDictionary.MergedDictionaries> |
| 682 | + <ResourceDictionary> |
| 683 | + <SolidColorBrush x:Key="DataGridCellFocusVisualPrimaryBrush" Color="Transparent" /> |
| 684 | + <SolidColorBrush x:Key="DataGridCellFocusVisualSecondaryBrush" Color="Transparent" /> |
| 685 | + </ResourceDictionary> |
| 686 | + </ResourceDictionary.MergedDictionaries> |
| 687 | + </ResourceDictionary> |
668 | 688 | </controls:DataGrid.Resources>
|
669 | 689 | <controls:DataGrid.ColumnHeaderStyle>
|
670 | 690 | <Style TargetType="controlsprimitives:DataGridColumnHeader">
|
|
691 | 711 | </Setter.Value>
|
692 | 712 | </Setter>
|
693 | 713 | <Setter Property="SeparatorBrush" Value="Transparent" />
|
694 |
| - <Setter Property="Height" Value="38" /> |
695 | 714 | <Setter Property="FontSize" Value="14" />
|
696 | 715 | <Setter Property="Foreground" Value="{ThemeResource ApplicationForegroundThemeBrush}" />
|
697 | 716 | <Setter Property="FontWeight" Value="SemiBold" />
|
698 |
| - <Setter Property="Background" Value="Transparent" /> |
| 717 | + <Setter Property="Background" Value="{ThemeResource DataGridColumnHeaderBackgroundColor}" /> |
699 | 718 | </Style>
|
700 | 719 | </controls:DataGrid.ColumnHeaderStyle>
|
701 | 720 | <Interactivity:Interaction.Behaviors>
|
|
0 commit comments