From 120f12cc86b9bf7387c93da481ffd96de9f2b2bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=AB=E5=9F=8Evia?= Date: Thu, 15 Jun 2023 14:15:13 +0800 Subject: [PATCH] 1.1.11.13 --- .../SharedResources/Panuon.WPF.UI/Controls/BreadcrumbItem.cs | 2 +- .../SharedResources/Panuon.WPF.UI/Controls/CalendarXItem.cs | 2 +- .../Panuon.WPF.UI/Controls/MultiComboBoxItem.cs | 2 +- .../SharedResources/Panuon.WPF.UI/Controls/NoticeBoxItem.cs | 2 +- .../SharedResources/Panuon.WPF.UI/Controls/PaginationItem.cs | 2 +- .../SharedResources/Panuon.WPF.UI/Controls/SearchBoxItem.cs | 2 +- SourceCode/SharedResources/Panuon.WPF.UI/Controls/TagItem.cs | 2 +- .../Panuon.WPF.UI/Controls/TimeSelectorItem.cs | 2 +- .../SharedResources/Panuon.WPF.UI/Properties/AssemblyInfo.cs | 4 ++-- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/SourceCode/SharedResources/Panuon.WPF.UI/Controls/BreadcrumbItem.cs b/SourceCode/SharedResources/Panuon.WPF.UI/Controls/BreadcrumbItem.cs index 59e6b8f5..51519d37 100644 --- a/SourceCode/SharedResources/Panuon.WPF.UI/Controls/BreadcrumbItem.cs +++ b/SourceCode/SharedResources/Panuon.WPF.UI/Controls/BreadcrumbItem.cs @@ -39,7 +39,7 @@ public CornerRadius CornerRadius } public static readonly DependencyProperty CornerRadiusProperty = - DependencyProperty.Register("CornerRadius", typeof(CornerRadius), typeof(BreadcrumbItem)); + VisualStateHelper.CornerRadiusProperty.AddOwner(typeof(BreadcrumbItem)); #endregion #region ShadowColor diff --git a/SourceCode/SharedResources/Panuon.WPF.UI/Controls/CalendarXItem.cs b/SourceCode/SharedResources/Panuon.WPF.UI/Controls/CalendarXItem.cs index e286f7b2..0c8545dd 100644 --- a/SourceCode/SharedResources/Panuon.WPF.UI/Controls/CalendarXItem.cs +++ b/SourceCode/SharedResources/Panuon.WPF.UI/Controls/CalendarXItem.cs @@ -119,7 +119,7 @@ public CornerRadius CornerRadius } public static readonly DependencyProperty CornerRadiusProperty = - DependencyProperty.Register("CornerRadius", typeof(CornerRadius), typeof(CalendarXItem)); + VisualStateHelper.CornerRadiusProperty.AddOwner(typeof(CalendarXItem)); #endregion #region ShadowColor diff --git a/SourceCode/SharedResources/Panuon.WPF.UI/Controls/MultiComboBoxItem.cs b/SourceCode/SharedResources/Panuon.WPF.UI/Controls/MultiComboBoxItem.cs index 03c76a67..f2c71eb1 100644 --- a/SourceCode/SharedResources/Panuon.WPF.UI/Controls/MultiComboBoxItem.cs +++ b/SourceCode/SharedResources/Panuon.WPF.UI/Controls/MultiComboBoxItem.cs @@ -51,7 +51,7 @@ public CornerRadius CornerRadius } public static readonly DependencyProperty CornerRadiusProperty = - DependencyProperty.Register("CornerRadius", typeof(CornerRadius), typeof(MultiComboBoxItem)); + VisualStateHelper.CornerRadiusProperty.AddOwner(typeof(MultiComboBoxItem)); #endregion #region RemoveButtonVisibility diff --git a/SourceCode/SharedResources/Panuon.WPF.UI/Controls/NoticeBoxItem.cs b/SourceCode/SharedResources/Panuon.WPF.UI/Controls/NoticeBoxItem.cs index cc5c14b9..5fd242c7 100644 --- a/SourceCode/SharedResources/Panuon.WPF.UI/Controls/NoticeBoxItem.cs +++ b/SourceCode/SharedResources/Panuon.WPF.UI/Controls/NoticeBoxItem.cs @@ -125,7 +125,7 @@ public CornerRadius CornerRadius } public static readonly DependencyProperty CornerRadiusProperty = - DependencyProperty.Register("CornerRadius", typeof(CornerRadius), typeof(NoticeBoxItem)); + VisualStateHelper.CornerRadiusProperty.AddOwner(typeof(NoticeBoxItem)); #endregion #region ShadowColor diff --git a/SourceCode/SharedResources/Panuon.WPF.UI/Controls/PaginationItem.cs b/SourceCode/SharedResources/Panuon.WPF.UI/Controls/PaginationItem.cs index 87ccb003..43e42603 100644 --- a/SourceCode/SharedResources/Panuon.WPF.UI/Controls/PaginationItem.cs +++ b/SourceCode/SharedResources/Panuon.WPF.UI/Controls/PaginationItem.cs @@ -57,7 +57,7 @@ public CornerRadius CornerRadius } public static readonly DependencyProperty CornerRadiusProperty = - DependencyProperty.Register("CornerRadius", typeof(CornerRadius), typeof(PaginationItem)); + VisualStateHelper.CornerRadiusProperty.AddOwner(typeof(PaginationItem)); #endregion #region HoverBackground diff --git a/SourceCode/SharedResources/Panuon.WPF.UI/Controls/SearchBoxItem.cs b/SourceCode/SharedResources/Panuon.WPF.UI/Controls/SearchBoxItem.cs index 7b54c002..e8701d62 100644 --- a/SourceCode/SharedResources/Panuon.WPF.UI/Controls/SearchBoxItem.cs +++ b/SourceCode/SharedResources/Panuon.WPF.UI/Controls/SearchBoxItem.cs @@ -39,7 +39,7 @@ public CornerRadius CornerRadius } public static readonly DependencyProperty CornerRadiusProperty = - DependencyProperty.Register("CornerRadius", typeof(CornerRadius), typeof(SearchBoxItem)); + VisualStateHelper.CornerRadiusProperty.AddOwner(typeof(SearchBoxItem)); #endregion #region ShadowColor diff --git a/SourceCode/SharedResources/Panuon.WPF.UI/Controls/TagItem.cs b/SourceCode/SharedResources/Panuon.WPF.UI/Controls/TagItem.cs index 73ca21df..a51e65ea 100644 --- a/SourceCode/SharedResources/Panuon.WPF.UI/Controls/TagItem.cs +++ b/SourceCode/SharedResources/Panuon.WPF.UI/Controls/TagItem.cs @@ -69,7 +69,7 @@ public CornerRadius CornerRadius } public static readonly DependencyProperty CornerRadiusProperty = - DependencyProperty.Register("CornerRadius", typeof(CornerRadius), typeof(TagItem)); + VisualStateHelper.CornerRadiusProperty.AddOwner(typeof(TagItem)); #endregion #region ShadowColor diff --git a/SourceCode/SharedResources/Panuon.WPF.UI/Controls/TimeSelectorItem.cs b/SourceCode/SharedResources/Panuon.WPF.UI/Controls/TimeSelectorItem.cs index 31e6fb82..37ae2e0e 100644 --- a/SourceCode/SharedResources/Panuon.WPF.UI/Controls/TimeSelectorItem.cs +++ b/SourceCode/SharedResources/Panuon.WPF.UI/Controls/TimeSelectorItem.cs @@ -75,7 +75,7 @@ public CornerRadius CornerRadius } public static readonly DependencyProperty CornerRadiusProperty = - DependencyProperty.Register("CornerRadius", typeof(CornerRadius), typeof(TimeSelectorItem)); + VisualStateHelper.CornerRadiusProperty.AddOwner(typeof(TimeSelectorItem)); #endregion #region ShadowColor diff --git a/SourceCode/SharedResources/Panuon.WPF.UI/Properties/AssemblyInfo.cs b/SourceCode/SharedResources/Panuon.WPF.UI/Properties/AssemblyInfo.cs index 2e20f814..e022be76 100644 --- a/SourceCode/SharedResources/Panuon.WPF.UI/Properties/AssemblyInfo.cs +++ b/SourceCode/SharedResources/Panuon.WPF.UI/Properties/AssemblyInfo.cs @@ -25,5 +25,5 @@ ResourceDictionaryLocation.SourceAssembly )] -[assembly: AssemblyVersion("1.1.11.12")] -[assembly: AssemblyFileVersion("1.1.11.12")] \ No newline at end of file +[assembly: AssemblyVersion("1.1.11.13")] +[assembly: AssemblyFileVersion("1.1.11.13")] \ No newline at end of file