hide row selection in privacy control datagrid
MODIFY
WalletWasabi.Fluent/Styles/DataGrid.axaml
WalletWasabi.Fluent/Styles/DataGrid.axaml
<Setter Property="Fill" Value="{DynamicResource DataGridRowSelectedBackgroundColor}" />
</Style>
<Style Selector="DataGridRow:selected /template/ Border#PART_SelectionIndicator">
- <Setter Property="BorderBrush" Value="{DynamicResource SystemAccentColor}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource DataGridRowIndicatorBrush}" />
</Style>
<Style Selector="DataGridRow /template/ Border#PART_SelectionIndicator">
<Setter Property="BorderBrush" Value="Transparent" />

MODIFY
WalletWasabi.Fluent/Styles/Themes/Base.axaml
WalletWasabi.Fluent/Styles/Themes/Base.axaml
<StaticResource x:Key="SystemControlErrorTextForegroundBrush" ResourceKey="SystemErrorTextColor" />
<SolidColorBrush x:Key="HyperLinkForeground">#00A2E8</SolidColorBrush>
+ <SolidColorBrush x:Key="DataGridRowIndicatorBrush" Color="{StaticResource SystemAccentColor}" />
<SolidColorBrush x:Key="DataGridColumnHeaderBackgroundBrush" Color="Transparent" />
<SolidColorBrush x:Key="DataGridCellFocusVisualPrimaryBrush" Color="Transparent" />
<SolidColorBrush x:Key="DataGridCellFocusVisualSecondaryBrush" Color="Transparent" />

MODIFY
WalletWasabi.Fluent/Views/Wallets/Send/PrivacyControlView.axaml
WalletWasabi.Fluent/Views/Wallets/Send/PrivacyControlView.axaml
<DataGrid AutoGenerateColumns="False"
Margin="0 20"
Items="{Binding Pockets}">
- <DataGrid.Styles>
- <Style Selector="DataGridRow:selected /template/ Border#PART_SelectionIndicator">
- <Setter Property="BorderBrush" Value="{x:Null}" />
- </Style>
- </DataGrid.Styles>
+ <DataGrid.Resources>
+ <SolidColorBrush x:Key="DataGridRowIndicatorBrush" Color="Transparent" />
+ <SolidColorBrush x:Key="DataGridRowSelectedBackgroundColor" Color="Transparent" />
+ <StaticResource x:Key="DataGridRowSelectedUnfocusedBackgroundColor"
+ ResourceKey="DataGridRowSelectedBackgroundColor" />
+ </DataGrid.Resources>
<DataGrid.Columns>
<DataGridTemplateColumn CanUserSort="False" CanUserResize="False" CanUserReorder="False">
<DataGridTemplateColumn.CellTemplate>

hide row selection in privacy control datagrid