From 0d6fd12dfe93348efb7577116d82480127af7918 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Sat, 20 Aug 2022 14:20:37 +0800 Subject: [PATCH] fix: fixed datagrid small style invalid sometimes issue. --- .../Themes/Styles/DataGrid.xaml | 8 +- .../HandyControl_Net_40/Themes/Theme.xaml | 152 +++++++++++++++++- .../UserControl/Styles/DataGridDemoCtl.xaml | 23 ++- .../Controls/Attach/DataGridAttach.cs | 27 ++-- .../Themes/Styles/Base/DataGridBaseStyle.xaml | 148 ++++++++++++++++- .../Themes/Styles/DataGrid.xaml | 8 +- .../HandyControl_Shared/Themes/Theme.xaml | 152 +++++++++++++++++- 7 files changed, 485 insertions(+), 33 deletions(-) diff --git a/src/Net_40/HandyControl_Net_40/Themes/Styles/DataGrid.xaml b/src/Net_40/HandyControl_Net_40/Themes/Styles/DataGrid.xaml index 056ca1fc..67dc4973 100644 --- a/src/Net_40/HandyControl_Net_40/Themes/Styles/DataGrid.xaml +++ b/src/Net_40/HandyControl_Net_40/Themes/Styles/DataGrid.xaml @@ -24,9 +24,9 @@ - - - + + + @@ -123,6 +123,8 @@ + + diff --git a/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml b/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml index 4d01a2c0..20986889 100644 --- a/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml +++ b/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml @@ -777,7 +777,7 @@ - + + + + @@ -12630,9 +12772,9 @@ - - - + + + @@ -12724,6 +12866,8 @@ + + - + + + + + + + + diff --git a/src/Shared/HandyControl_Shared/Themes/Styles/DataGrid.xaml b/src/Shared/HandyControl_Shared/Themes/Styles/DataGrid.xaml index 48d24bb1..78d5729c 100644 --- a/src/Shared/HandyControl_Shared/Themes/Styles/DataGrid.xaml +++ b/src/Shared/HandyControl_Shared/Themes/Styles/DataGrid.xaml @@ -24,9 +24,9 @@ - - - + + + @@ -132,6 +132,8 @@ + + diff --git a/src/Shared/HandyControl_Shared/Themes/Theme.xaml b/src/Shared/HandyControl_Shared/Themes/Theme.xaml index edf29b4b..1d54ad3c 100644 --- a/src/Shared/HandyControl_Shared/Themes/Theme.xaml +++ b/src/Shared/HandyControl_Shared/Themes/Theme.xaml @@ -777,7 +777,7 @@ - + + + + @@ -12762,9 +12904,9 @@ - - - + + + @@ -12865,6 +13007,8 @@ + +