From 483370f218abe7c0d464217c0e1467fc1bd91e67 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Wed, 5 Jan 2022 21:56:30 +0800 Subject: [PATCH] enhance: add Layout prop for ButtonGroup --- .../HandyControl_Net_40/Themes/Theme.xaml | 37 ++++- .../Controls/Button/ButtonGroup.cs | 17 ++- .../Data/Enum/LinearLayout.cs | 9 ++ .../HandyControl_Shared.projitems | 1 + .../Styles/Base/ButtonGroupBaseStyle.xaml | 41 +++++- .../HandyControl_Shared/Themes/Theme.xaml | 37 ++++- .../ButtonGroupItemStyleSelector.cs | 136 ++++++++++-------- 7 files changed, 192 insertions(+), 86 deletions(-) create mode 100644 src/Shared/HandyControl_Shared/Data/Enum/LinearLayout.cs diff --git a/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml b/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml index 43d0dd10..d134dfb4 100644 --- a/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml +++ b/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml @@ -561,12 +561,18 @@ - + - + + + + + + + @@ -2442,16 +2448,35 @@ - \ No newline at end of file + diff --git a/src/Shared/HandyControl_Shared/Themes/Theme.xaml b/src/Shared/HandyControl_Shared/Themes/Theme.xaml index 5949ea9c..5e78b866 100644 --- a/src/Shared/HandyControl_Shared/Themes/Theme.xaml +++ b/src/Shared/HandyControl_Shared/Themes/Theme.xaml @@ -561,12 +561,18 @@ - + - + + + + + + + @@ -2442,16 +2448,35 @@