From e9b9579eabfc4894cd2288a9f600ccba83d59b06 Mon Sep 17 00:00:00 2001
From: NaBian <836904362@qq.com>
Date: Tue, 26 Jan 2021 21:03:23 +0800
Subject: [PATCH 001/456] fixed #648
---
.../Styles/Base/DatePickerBaseStyle.xaml | 4 ++-
.../Styles/Base/DateTimePickerBaseStyle.xaml | 13 +++----
.../Styles/Base/NumericUpDownBaseStyle.xaml | 13 +++----
.../Styles/Base/TimePickerBaseStyle.xaml | 13 +++----
.../HandyControl_Shared/Themes/Theme.xaml | 35 +++++++++++--------
5 files changed, 44 insertions(+), 34 deletions(-)
diff --git a/src/Shared/HandyControl_Shared/Themes/Styles/Base/DatePickerBaseStyle.xaml b/src/Shared/HandyControl_Shared/Themes/Styles/Base/DatePickerBaseStyle.xaml
index 0a10b083..4b7a442c 100644
--- a/src/Shared/HandyControl_Shared/Themes/Styles/Base/DatePickerBaseStyle.xaml
+++ b/src/Shared/HandyControl_Shared/Themes/Styles/Base/DatePickerBaseStyle.xaml
@@ -15,6 +15,7 @@
+
@@ -348,6 +349,7 @@
-
\ No newline at end of file
+
diff --git a/src/Shared/HandyControl_Shared/Themes/Styles/Base/DateTimePickerBaseStyle.xaml b/src/Shared/HandyControl_Shared/Themes/Styles/Base/DateTimePickerBaseStyle.xaml
index e1495709..776b1348 100644
--- a/src/Shared/HandyControl_Shared/Themes/Styles/Base/DateTimePickerBaseStyle.xaml
+++ b/src/Shared/HandyControl_Shared/Themes/Styles/Base/DateTimePickerBaseStyle.xaml
@@ -19,6 +19,7 @@
+
@@ -30,7 +31,7 @@
-
+
@@ -81,7 +82,7 @@
-
+
@@ -130,7 +131,7 @@
-
+
@@ -204,7 +205,7 @@
-
+
@@ -280,7 +281,7 @@
-
+
@@ -338,4 +339,4 @@
-
\ No newline at end of file
+
diff --git a/src/Shared/HandyControl_Shared/Themes/Styles/Base/NumericUpDownBaseStyle.xaml b/src/Shared/HandyControl_Shared/Themes/Styles/Base/NumericUpDownBaseStyle.xaml
index 53a646ed..0b0f1598 100644
--- a/src/Shared/HandyControl_Shared/Themes/Styles/Base/NumericUpDownBaseStyle.xaml
+++ b/src/Shared/HandyControl_Shared/Themes/Styles/Base/NumericUpDownBaseStyle.xaml
@@ -16,6 +16,7 @@
+
@@ -36,7 +37,7 @@
-
+
@@ -80,7 +81,7 @@
-
+
@@ -119,7 +120,7 @@
-
+
@@ -182,7 +183,7 @@
-
+
@@ -249,7 +250,7 @@
-
+
@@ -300,4 +301,4 @@
-
\ No newline at end of file
+
diff --git a/src/Shared/HandyControl_Shared/Themes/Styles/Base/TimePickerBaseStyle.xaml b/src/Shared/HandyControl_Shared/Themes/Styles/Base/TimePickerBaseStyle.xaml
index e3a821be..7b6bda9f 100644
--- a/src/Shared/HandyControl_Shared/Themes/Styles/Base/TimePickerBaseStyle.xaml
+++ b/src/Shared/HandyControl_Shared/Themes/Styles/Base/TimePickerBaseStyle.xaml
@@ -19,6 +19,7 @@
+
@@ -30,7 +31,7 @@
-
+
@@ -81,7 +82,7 @@
-
+
@@ -130,7 +131,7 @@
-
+
@@ -204,7 +205,7 @@
-
+
@@ -280,7 +281,7 @@
-
+
@@ -338,4 +339,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 7eec991f..9a81312c 100644
--- a/src/Shared/HandyControl_Shared/Themes/Theme.xaml
+++ b/src/Shared/HandyControl_Shared/Themes/Theme.xaml
@@ -7567,6 +7567,7 @@
+
@@ -7893,6 +7894,7 @@
-
+
+
+
@@ -12756,10 +12759,10 @@
-
+
-
+
@@ -12786,10 +12789,10 @@
-
+
-
+
@@ -12816,10 +12819,10 @@
-
+
-
+
@@ -12846,10 +12849,10 @@
-
+
-
+
@@ -13003,10 +13006,10 @@
-
+
-
+
@@ -13033,10 +13036,10 @@
-
+
-
+
@@ -13063,10 +13066,10 @@
-
+
-
+
@@ -13093,10 +13096,10 @@
-
+
-
+
diff --git a/src/Shared/HandyControl_Shared/Controls/Internal/InternalCanvas.cs b/src/Shared/HandyControl_Shared/Controls/Panel/AxleCanvas.cs
similarity index 86%
rename from src/Shared/HandyControl_Shared/Controls/Internal/InternalCanvas.cs
rename to src/Shared/HandyControl_Shared/Controls/Panel/AxleCanvas.cs
index a7200d2a..c1c68acd 100644
--- a/src/Shared/HandyControl_Shared/Controls/Internal/InternalCanvas.cs
+++ b/src/Shared/HandyControl_Shared/Controls/Panel/AxleCanvas.cs
@@ -3,12 +3,12 @@ using System.Windows.Controls;
namespace HandyControl.Controls
{
- internal class InternalCanvas : Canvas
+ public class AxleCanvas : Canvas
{
- internal static readonly DependencyProperty OrientationProperty = DependencyProperty.Register(
- "Orientation", typeof(Orientation), typeof(InternalCanvas), new PropertyMetadata(default(Orientation)));
+ public static readonly DependencyProperty OrientationProperty = DependencyProperty.Register(
+ "Orientation", typeof(Orientation), typeof(AxleCanvas), new PropertyMetadata(default(Orientation)));
- internal Orientation Orientation
+ public Orientation Orientation
{
get => (Orientation) GetValue(OrientationProperty);
set => SetValue(OrientationProperty, value);
diff --git a/src/Shared/HandyControl_Shared/HandyControl_Shared.projitems b/src/Shared/HandyControl_Shared/HandyControl_Shared.projitems
index d603f191..190ac5a6 100644
--- a/src/Shared/HandyControl_Shared/HandyControl_Shared.projitems
+++ b/src/Shared/HandyControl_Shared/HandyControl_Shared.projitems
@@ -46,6 +46,7 @@
+
@@ -181,7 +182,6 @@
-
diff --git a/src/Shared/HandyControl_Shared/Themes/Basic/Sizes.xaml b/src/Shared/HandyControl_Shared/Themes/Basic/Sizes.xaml
index ad1239ca..3c395c06 100644
--- a/src/Shared/HandyControl_Shared/Themes/Basic/Sizes.xaml
+++ b/src/Shared/HandyControl_Shared/Themes/Basic/Sizes.xaml
@@ -1,10 +1,11 @@
+ xmlns:sys="clr-namespace:System;assembly=mscorlib">
- 30
+ 30
10,6
8,6
4
+ 30
-
\ No newline at end of file
+
diff --git a/src/Shared/HandyControl_Shared/Themes/Styles/Base/SliderBaseStyle.xaml b/src/Shared/HandyControl_Shared/Themes/Styles/Base/SliderBaseStyle.xaml
index d6ad3e81..77053069 100644
--- a/src/Shared/HandyControl_Shared/Themes/Styles/Base/SliderBaseStyle.xaml
+++ b/src/Shared/HandyControl_Shared/Themes/Styles/Base/SliderBaseStyle.xaml
@@ -45,7 +45,9 @@
-
+
+
+
@@ -72,10 +74,10 @@
-
+
-
+
@@ -103,10 +105,10 @@
-
+
-
+
@@ -134,10 +136,10 @@
-
+
-
+
@@ -165,10 +167,10 @@
-
+
-
+
@@ -709,10 +711,10 @@
-
+
-
+
@@ -740,10 +742,10 @@
-
+
-
+
@@ -771,10 +773,10 @@
-
+
-
+
@@ -802,10 +804,10 @@
-
+
-
+
@@ -964,6 +966,6 @@
-
+
-
\ 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 9a81312c..fc94ff79 100644
--- a/src/Shared/HandyControl_Shared/Themes/Theme.xaml
+++ b/src/Shared/HandyControl_Shared/Themes/Theme.xaml
@@ -92,6 +92,7 @@
10,6
8,6
4
+ 30
@@ -1323,7 +1324,9 @@
-
+
+
+
@@ -12906,10 +12909,10 @@
-
+
-
+
@@ -12936,10 +12939,10 @@
-
+
-
+
@@ -12966,10 +12969,10 @@
-
+
-
+
@@ -12996,10 +12999,10 @@
-
+
-
+
@@ -13153,10 +13156,10 @@
-
+
-
+
@@ -13183,10 +13186,10 @@
-
+
-
+
@@ -13213,10 +13216,10 @@
-
+
-
+
@@ -13243,10 +13246,10 @@
-
+
-
+
From 667465a375add8a841a821e92027b3a1ee4478b0 Mon Sep 17 00:00:00 2001
From: NaBian <836904362@qq.com>
Date: Sun, 31 Jan 2021 19:21:27 +0800
Subject: [PATCH 009/456] fixed a binding error of CheckComboBox
---
.../Styles/Base/CheckComboBoxBaseStyle.xaml | 41 +++++++++++++++++--
.../HandyControl_Net_40/Themes/Theme.xaml | 40 ++++++++++++++++--
.../Controls/CheckComboBoxDemoCtl.xaml | 2 +-
.../Styles/Base/CheckComboBoxBaseStyle.xaml | 41 +++++++++++++++++--
.../HandyControl_Shared/Themes/Theme.xaml | 40 ++++++++++++++++--
5 files changed, 147 insertions(+), 17 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 55458778..868680aa 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
@@ -40,6 +40,39 @@
+
+
+
+
+
+
-
+
+
-
+
-
+
+
-
+
-
\ 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 00c47eea..a60513fb 100644
--- a/src/Shared/HandyControl_Shared/Themes/Theme.xaml
+++ b/src/Shared/HandyControl_Shared/Themes/Theme.xaml
@@ -9805,14 +9805,6 @@
-
\ 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 a60513fb..b59dcfbd 100644
--- a/src/Shared/HandyControl_Shared/Themes/Theme.xaml
+++ b/src/Shared/HandyControl_Shared/Themes/Theme.xaml
@@ -10500,7 +10500,7 @@
-
+
@@ -10550,7 +10550,7 @@
-
+
@@ -10598,7 +10598,7 @@
-
+
@@ -10670,7 +10670,7 @@
-
+
@@ -10745,7 +10745,7 @@
-
+
@@ -11430,7 +11430,8 @@
-
\ 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 b59dcfbd..092db5f1 100644
--- a/src/Shared/HandyControl_Shared/Themes/Theme.xaml
+++ b/src/Shared/HandyControl_Shared/Themes/Theme.xaml
@@ -7957,7 +7957,7 @@
-
+
@@ -8007,7 +8007,7 @@
-
+
@@ -8055,7 +8055,7 @@
-
+
@@ -8127,7 +8127,7 @@
-
+
@@ -8202,7 +8202,7 @@
-
+
@@ -11281,12 +11281,15 @@
-
+
+
+
-
+
+
@@ -11297,12 +11300,12 @@
-
+
-
+
From a976d6421bde571e6a077885e0e001ae6fbf40e9 Mon Sep 17 00:00:00 2001
From: NaBian <836904362@qq.com>
Date: Fri, 5 Feb 2021 21:03:58 +0800
Subject: [PATCH 023/456] update ComboBox style
---
.../Themes/Styles/Base/ComboBoxBaseStyle.xaml | 28 +++++++++----------
.../HandyControl_Net_40/Themes/Theme.xaml | 28 +++++++++----------
.../Themes/Styles/Base/ComboBoxBaseStyle.xaml | 28 +++++++++----------
.../HandyControl_Shared/Themes/Theme.xaml | 28 +++++++++----------
4 files changed, 56 insertions(+), 56 deletions(-)
diff --git a/src/Net_40/HandyControl_Net_40/Themes/Styles/Base/ComboBoxBaseStyle.xaml b/src/Net_40/HandyControl_Net_40/Themes/Styles/Base/ComboBoxBaseStyle.xaml
index 805422ab..95ee114e 100644
--- a/src/Net_40/HandyControl_Net_40/Themes/Styles/Base/ComboBoxBaseStyle.xaml
+++ b/src/Net_40/HandyControl_Net_40/Themes/Styles/Base/ComboBoxBaseStyle.xaml
@@ -81,7 +81,7 @@
-
+
@@ -146,7 +146,7 @@
-
+
@@ -209,7 +209,7 @@
-
+
@@ -286,7 +286,7 @@
-
+
@@ -351,7 +351,7 @@
-
+
@@ -414,7 +414,7 @@
-
+
@@ -586,7 +586,7 @@
-
+
@@ -689,7 +689,7 @@
-
+
@@ -795,7 +795,7 @@
-
+
@@ -918,7 +918,7 @@
-
+
@@ -932,7 +932,7 @@
-
+
@@ -1058,7 +1058,7 @@
-
+
@@ -1178,7 +1178,7 @@
-
+
@@ -1192,7 +1192,7 @@
-
+
diff --git a/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml b/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml
index 892f163b..e2c6cfe0 100644
--- a/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml
+++ b/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml
@@ -4515,7 +4515,7 @@
-
+
@@ -4578,7 +4578,7 @@
-
+
@@ -4639,7 +4639,7 @@
-
+
@@ -4712,7 +4712,7 @@
-
+
@@ -4775,7 +4775,7 @@
-
+
@@ -4836,7 +4836,7 @@
-
+
@@ -5000,7 +5000,7 @@
-
+
@@ -5101,7 +5101,7 @@
-
+
@@ -5205,7 +5205,7 @@
-
+
@@ -5327,7 +5327,7 @@
-
+
@@ -5341,7 +5341,7 @@
-
+
@@ -5465,7 +5465,7 @@
-
+
@@ -5584,7 +5584,7 @@
-
+
@@ -5598,7 +5598,7 @@
-
+
diff --git a/src/Shared/HandyControl_Shared/Themes/Styles/Base/ComboBoxBaseStyle.xaml b/src/Shared/HandyControl_Shared/Themes/Styles/Base/ComboBoxBaseStyle.xaml
index 64b50da7..d39cf18f 100644
--- a/src/Shared/HandyControl_Shared/Themes/Styles/Base/ComboBoxBaseStyle.xaml
+++ b/src/Shared/HandyControl_Shared/Themes/Styles/Base/ComboBoxBaseStyle.xaml
@@ -81,7 +81,7 @@
-
+
@@ -153,7 +153,7 @@
-
+
@@ -223,7 +223,7 @@
-
+
@@ -307,7 +307,7 @@
-
+
@@ -379,7 +379,7 @@
-
+
@@ -449,7 +449,7 @@
-
+
@@ -628,7 +628,7 @@
-
+
@@ -738,7 +738,7 @@
-
+
@@ -851,7 +851,7 @@
-
+
@@ -981,7 +981,7 @@
-
+
@@ -995,7 +995,7 @@
-
+
@@ -1128,7 +1128,7 @@
-
+
@@ -1255,7 +1255,7 @@
-
+
@@ -1269,7 +1269,7 @@
-
+
diff --git a/src/Shared/HandyControl_Shared/Themes/Theme.xaml b/src/Shared/HandyControl_Shared/Themes/Theme.xaml
index 092db5f1..7af93217 100644
--- a/src/Shared/HandyControl_Shared/Themes/Theme.xaml
+++ b/src/Shared/HandyControl_Shared/Themes/Theme.xaml
@@ -4514,7 +4514,7 @@
-
+
@@ -4584,7 +4584,7 @@
-
+
@@ -4652,7 +4652,7 @@
-
+
@@ -4732,7 +4732,7 @@
-
+
@@ -4802,7 +4802,7 @@
-
+
@@ -4870,7 +4870,7 @@