From fe7f621cb2f4a0fbf71bfbc7fd965f278ec62efb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E9=A9=9A=E9=8F=B5?= Date: Wed, 24 Jul 2024 23:02:39 +0800 Subject: [PATCH] Update ElementHelper.cs --- src/WPFDevelopers.Shared/Core/Helpers/ElementHelper.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/WPFDevelopers.Shared/Core/Helpers/ElementHelper.cs b/src/WPFDevelopers.Shared/Core/Helpers/ElementHelper.cs index d257ee26..f040e1ea 100644 --- a/src/WPFDevelopers.Shared/Core/Helpers/ElementHelper.cs +++ b/src/WPFDevelopers.Shared/Core/Helpers/ElementHelper.cs @@ -55,6 +55,7 @@ public static void SetIsStripe(DependencyObject obj, bool value) { obj.SetValue(IsStripeProperty, value); } + public static bool GetIsRound(DependencyObject obj) { return (bool)obj.GetValue(IsRoundProperty); @@ -64,6 +65,7 @@ public static void SetIsRound(DependencyObject obj, bool value) { obj.SetValue(IsRoundProperty, value); } + public static void SetIsClear(UIElement element, bool value) { element.SetValue(IsClearProperty, value);