Skip to content

Commit

Permalink
Full example for SettingsExpande
Browse files Browse the repository at this point in the history
  • Loading branch information
NotYoojun committed Dec 22, 2024
1 parent 1d316bb commit addeca1
Show file tree
Hide file tree
Showing 3 changed files with 796 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public partial class SettingsExpander
/// </summary>
public static readonly DependencyProperty HeaderIconProperty = DependencyProperty.Register(
nameof(HeaderIcon),
typeof(IconElement),
typeof(object),
typeof(SettingsExpander),
new PropertyMetadata(defaultValue: null));

Expand Down Expand Up @@ -112,9 +112,9 @@ public object Header
/// <summary>
/// Gets or sets the HeaderIcon.
/// </summary>
public IconElement HeaderIcon
public object HeaderIcon
{
get => (IconElement)GetValue(HeaderIconProperty);
get => (object)GetValue(HeaderIconProperty);
set => SetValue(HeaderIconProperty, value);
}

Expand Down
Loading

0 comments on commit addeca1

Please sign in to comment.