Files
Toolkit2/Toolkit.UI.Controls.Avalonia/SettingsExpander/SettingsExpander.cs
T
2024-04-13 11:41:33 +01:00

34 lines
1013 B
C#

using Avalonia;
namespace Toolkit.UI.Controls.Avalonia;
public class SettingsExpander : FluentAvalonia.UI.Controls.SettingsExpander
{
protected override Type StyleKeyOverride =>
typeof(SettingsExpander);
public new static readonly StyledProperty<object> DescriptionProperty =
AvaloniaProperty.Register<SettingsExpander, object>(nameof(Description));
public new object Description
{
get => GetValue(DescriptionProperty);
set => SetValue(DescriptionProperty, value);
}
}
public class SettingsExpanderItem : FluentAvalonia.UI.Controls.SettingsExpanderItem
{
protected override Type StyleKeyOverride =>
typeof(SettingsExpanderItem);
public new static readonly StyledProperty<object> DescriptionProperty =
AvaloniaProperty.Register<SettingsExpanderItem, object>(nameof(Description));
public new object Description
{
get => GetValue(DescriptionProperty);
set => SetValue(DescriptionProperty, value);
}
}