From 4dc70da3215c94ec97e01f6f14ba21f443d7a6f2 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Fri, 15 Jan 2021 21:30:10 +0800 Subject: [PATCH 01/15] use SetDataObject instead of SetText --- src/Shared/HandyControl_Shared/Controls/Window/MessageBox.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Shared/HandyControl_Shared/Controls/Window/MessageBox.cs b/src/Shared/HandyControl_Shared/Controls/Window/MessageBox.cs index 8300f7d6..929bc779 100644 --- a/src/Shared/HandyControl_Shared/Controls/Window/MessageBox.cs +++ b/src/Shared/HandyControl_Shared/Controls/Window/MessageBox.cs @@ -211,7 +211,7 @@ namespace HandyControl.Controls builder.Append(Environment.NewLine); builder.Append(line); builder.Append(Environment.NewLine); - Clipboard.SetText(builder.ToString()); + Clipboard.SetDataObject(builder.ToString()); } } From a837bb1e2453f8c6576cd4b054d1a777e4e3104d Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Fri, 15 Jan 2021 22:40:45 +0800 Subject: [PATCH 02/15] update Expander & GroupBox styles --- README-cn.md | 8 ++--- README.md | 8 ++--- .../HandyControl_Net_40/Themes/Theme.xaml | 33 +++++++++-------- .../UserControl/Styles/ExpanderDemoCtl.xaml | 8 ++--- .../UserControl/Styles/GroupBoxDemoCtl.xaml | 16 ++++----- .../Controls/Window/MessageBox.cs | 10 +++++- .../Themes/Styles/Base/ExpanderBaseStyle.xaml | 8 ++--- .../Themes/Styles/Base/GroupBoxBaseStyle.xaml | 13 +++---- .../Styles/Base/PropertyGridBaseStyle.xaml | 4 +-- .../HandyControl_Shared/Themes/Theme.xaml | 35 ++++++++----------- 10 files changed, 75 insertions(+), 68 deletions(-) diff --git a/README-cn.md b/README-cn.md index 441e1ebe..599dca92 100644 --- a/README-cn.md +++ b/README-cn.md @@ -131,6 +131,10 @@ Step 4: Enjoy coding ## Latest examples +### UniformSpacingPanel + +![UniformSpacingPanel](https://gitee.com/handyorg/HandyOrgResource/raw/master/HandyControl/Resources/UniformSpacingPanel.png) + ### FlexPanel ![FlexPanel](https://gitee.com/handyorg/HandyOrgResource/raw/master/HandyControl/Resources/FlexPanel.gif) @@ -147,10 +151,6 @@ Step 4: Enjoy coding ![PropertyGrid](https://gitee.com/handyorg/HandyOrgResource/raw/master/HandyControl/Resources/PropertyGrid.png) -### UniformSpacingPanel - -![UniformSpacingPanel](https://gitee.com/handyorg/HandyOrgResource/raw/master/HandyControl/Resources/UniformSpacingPanel.png) - ## History publication ### Screenshot diff --git a/README.md b/README.md index ed7bdc4d..bd8f22dd 100644 --- a/README.md +++ b/README.md @@ -131,6 +131,10 @@ Step 4: Enjoy coding ## Latest examples +### UniformSpacingPanel + +![UniformSpacingPanel](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/UniformSpacingPanel.png) + ### FlexPanel ![FlexPanel](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/FlexPanel.gif) @@ -147,10 +151,6 @@ Step 4: Enjoy coding ![PropertyGrid](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/PropertyGrid.png) -### UniformSpacingPanel - -![UniformSpacingPanel](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/UniformSpacingPanel.png) - ## History publication ### Screenshot diff --git a/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml b/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml index e2dcba11..af5dd49c 100644 --- a/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml +++ b/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml @@ -527,7 +527,7 @@ - + @@ -541,7 +541,7 @@ - + @@ -2059,7 +2059,7 @@ - \ No newline at end of file + diff --git a/src/Shared/HandyControl_Shared/Themes/Styles/Base/PropertyGridBaseStyle.xaml b/src/Shared/HandyControl_Shared/Themes/Styles/Base/PropertyGridBaseStyle.xaml index 8810e698..d50b7361 100644 --- a/src/Shared/HandyControl_Shared/Themes/Styles/Base/PropertyGridBaseStyle.xaml +++ b/src/Shared/HandyControl_Shared/Themes/Styles/Base/PropertyGridBaseStyle.xaml @@ -114,7 +114,7 @@ - + @@ -163,4 +163,4 @@ - \ 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 c2840a9e..92dd017d 100644 --- a/src/Shared/HandyControl_Shared/Themes/Theme.xaml +++ b/src/Shared/HandyControl_Shared/Themes/Theme.xaml @@ -83,9 +83,6 @@ M2,12 C3.1045694,12 4,12.895431 4,14 4,15.104569 3.1045694,16 2,16 0.89543051,16 0,15.104569 0,14 0,12.895431 0.89543051,12 2,12 z M2,6 C3.1045694,6 4,6.8954306 4,8 4,9.1045694 3.1045694,10 2,10 0.89543051,10 0,9.1045694 0,8 0,6.8954306 0.89543051,6 2,6 z M2,0 C3.1045694,0 4,0.89543056 4,2 4,3.1045694 3.1045694,4 2,4 0.89543051,4 0,3.1045694 0,2 0,0.89543056 0.89543051,0 2,0 z M14,0 C15.104569,0 16,0.89543051 16,2 16,3.1045694 15.104569,4 14,4 12.895431,4 12,3.1045694 12,2 12,0.89543051 12.895431,0 14,0 z M8,0 C9.1045694,0 10,0.89543051 10,2 10,3.1045694 9.1045694,4 8,4 6.8954306,4 6,3.1045694 6,2 6,0.89543051 6.8954306,0 8,0 z M2,0 C3.1045694,0 4,0.89543051 4,2 4,3.1045694 3.1045694,4 2,4 0.89543056,4 0,3.1045694 0,2 0,0.89543051 0.89543056,0 2,0 z M798.165333 97.834667a42.624 42.624 0 0 0-60.330666 0l-140.629334 140.629333-55.381333-55.296-60.330667 60.330667 55.381334 55.296-353.706667 353.706666a42.709333 42.709333 0 0 0-11.221333 19.84l-42.666667 170.666667a42.538667 42.538667 0 0 0 51.712 51.712l170.666667-42.666667c7.509333-1.877333 14.378667-5.76 19.84-11.221333l353.792-353.792 55.210666 55.125333 60.330667-60.330666-55.210667-55.125334 140.544-140.544a42.624 42.624 0 0 0 0-60.330666l-128-128zM319.488 772.138667l-90.197333 22.570666 22.570666-90.197333 345.386667-345.386667 67.669333 67.584-345.429333 345.429334z - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Shared/HandyControl_Shared/Themes/Theme.xaml b/src/Shared/HandyControl_Shared/Themes/Theme.xaml index 97b9766c..e764d8cf 100644 --- a/src/Shared/HandyControl_Shared/Themes/Theme.xaml +++ b/src/Shared/HandyControl_Shared/Themes/Theme.xaml @@ -8334,6 +8334,140 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - \ No newline at end of file + 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 424e47fa..659adf27 100644 --- a/src/Net_40/HandyControl_Net_40/Themes/Styles/DataGrid.xaml +++ b/src/Net_40/HandyControl_Net_40/Themes/Styles/DataGrid.xaml @@ -290,41 +290,48 @@ - - - - - - - - - - - - - -