From d5232c581cf4ac558869667386f5af3aa43d8dec Mon Sep 17 00:00:00 2001 From: chfei Date: Mon, 16 Nov 2026 10:34:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=9F=E6=96=B0=E9=A2=9C=E8=89=B2=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controls/DataGridEx/DataGridEx.cs | 2 +- .../Controls/DataGridEx/DataGridEx.xaml | 3 ++- .../Resources/Colors.xaml | 4 ++-- .../Resources/FrameworkTheme.xaml | 14 ++++++++++- .../Store.Management/Views/LeftNavView.xaml | 6 +++++ .../Views/UserManagementPage.xaml | 24 +++++++++++++++---- .../Program.cs | 23 +++++++++++++++++- 7 files changed, 66 insertions(+), 10 deletions(-) diff --git a/Source/Store.Management.Framework/Controls/DataGridEx/DataGridEx.cs b/Source/Store.Management.Framework/Controls/DataGridEx/DataGridEx.cs index 1b0d863..8852449 100644 --- a/Source/Store.Management.Framework/Controls/DataGridEx/DataGridEx.cs +++ b/Source/Store.Management.Framework/Controls/DataGridEx/DataGridEx.cs @@ -124,7 +124,7 @@ public partial class DataGridEx : DataGrid public bool? AreAllRowsSelected => (bool?)GetValue(AreAllRowsSelectedProperty); public static readonly DependencyProperty SelectedRowBackgroundProperty = DependencyProperty.Register( nameof(SelectedRowBackground), typeof(Brush), typeof(DataGridEx), - new PropertyMetadata((Brush)new BrushConverter().ConvertFromString("#F3EAF1")!)); + new PropertyMetadata(Brushes.LightGray)); public static readonly DependencyProperty SelectedRowForegroundProperty = DependencyProperty.Register( nameof(SelectedRowForeground), typeof(Brush), typeof(DataGridEx), new PropertyMetadata(Brushes.Black)); public static readonly DependencyProperty ShowCheckBoxProperty = DependencyProperty.Register( diff --git a/Source/Store.Management.Framework/Controls/DataGridEx/DataGridEx.xaml b/Source/Store.Management.Framework/Controls/DataGridEx/DataGridEx.xaml index be5e320..7830e8a 100644 --- a/Source/Store.Management.Framework/Controls/DataGridEx/DataGridEx.xaml +++ b/Source/Store.Management.Framework/Controls/DataGridEx/DataGridEx.xaml @@ -1006,7 +1006,7 @@ - + + +