Skip to content

Commit

Permalink
Update ElementHelper.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
yanjinhuagood committed Jul 24, 2024
1 parent e2632a8 commit fe7f621
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/WPFDevelopers.Shared/Core/Helpers/ElementHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit fe7f621

Please sign in to comment.