fix: selected color in TreeDataGrid not updated after system accent color changed

This commit is contained in:
leo 2024-06-26 10:06:03 +08:00
parent 51e05dcddc
commit c53aad7142
No known key found for this signature in database

View file

@ -1306,6 +1306,9 @@
</Style>
<Style Selector="TreeDataGridRow">
<Style.Resources>
<SolidColorBrush x:Key="TreeDataGridSelectedCellBackgroundBrush" Color="{DynamicResource SystemAccentColor}" Opacity="0.4" />
</Style.Resources>
<Setter Property="Background" Value="Transparent"/>
</Style>