From adb63558848d156554ee12e79b440de75e3de7ac Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Sat, 13 Jul 2024 17:59:42 +0800 Subject: [PATCH] enhance: add IsReadOnly property for CheckComboBox. --- .../Styles/Base/CheckComboBoxBaseStyle.xaml | 15 +- .../Themes/Styles/Window.xaml | 97 +++---- .../HandyControl_Net_40/Themes/Theme.xaml | 19 +- .../Controls/CheckComboBoxDemoCtl.xaml | 8 +- .../Common/InputElementDemoViewModel.cs | 13 + .../Input/CheckComboBox/CheckComboBox.cs | 33 ++- .../Styles/Base/CheckComboBoxBaseStyle.xaml | 23 +- .../Themes/Styles/CheckComboBox.xaml | 3 +- .../Themes/Styles/Window.xaml | 242 +++++++++--------- .../HandyControl_Shared/Themes/Theme.xaml | 19 +- 10 files changed, 262 insertions(+), 210 deletions(-) diff --git a/src/Net_40/HandyControl_Net_40/Themes/Styles/Base/CheckComboBoxBaseStyle.xaml b/src/Net_40/HandyControl_Net_40/Themes/Styles/Base/CheckComboBoxBaseStyle.xaml index 0c4eaec8..49f70524 100644 --- a/src/Net_40/HandyControl_Net_40/Themes/Styles/Base/CheckComboBoxBaseStyle.xaml +++ b/src/Net_40/HandyControl_Net_40/Themes/Styles/Base/CheckComboBoxBaseStyle.xaml @@ -7,8 +7,9 @@ xmlns:langs="clr-namespace:HandyControl.Properties.Langs"> @@ -190,6 +190,7 @@ + @@ -248,21 +249,21 @@ diff --git a/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml b/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml index ecb8e745..16f2e979 100644 --- a/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml +++ b/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml @@ -4911,6 +4911,7 @@ + @@ -7261,8 +7262,9 @@ - - + + - - + + - - - + + - + - + - - + + - - + + - - + + - - - + + + - - + + - - + + - - + + - - + + - - + + - + - + @@ -153,23 +153,23 @@ - + - - + + - - - + + - + @@ -199,47 +199,47 @@ - + - - + + - - + + - - - + + + - - + + - - + + - - + + - - + + - - + + - + - + @@ -248,82 +248,82 @@ diff --git a/src/Shared/HandyControl_Shared/Themes/Theme.xaml b/src/Shared/HandyControl_Shared/Themes/Theme.xaml index aa6132b2..eddbafd1 100644 --- a/src/Shared/HandyControl_Shared/Themes/Theme.xaml +++ b/src/Shared/HandyControl_Shared/Themes/Theme.xaml @@ -4911,6 +4911,7 @@ + @@ -7345,8 +7346,9 @@