SettingsCard 类
- 命名空间
- ClassIsland.Core.Controls
- 程序集
- ClassIsland.Core.dll
SettingsCard.xaml 的交互逻辑
public class SettingsCard : UserControl, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, IComponentConnector
- 继承
-
SettingsCard
- 实现
- 继承成员
构造函数
SettingsCard()
public SettingsCard()
字段
DescriptionProperty
public static readonly DependencyProperty DescriptionProperty
字段值
HasSwitcherProperty
public static readonly DependencyProperty HasSwitcherProperty
字段值
HeaderProperty
public static readonly DependencyProperty HeaderProperty
字段值
IconGlyphProperty
public static readonly DependencyProperty IconGlyphProperty
字段值
IsOnProperty
public static readonly DependencyProperty IsOnProperty
字段值
SwitcherProperty
public static readonly DependencyProperty SwitcherProperty
字段值
属性
Description
public string Description { get; set; }
属性值
HasCustomSwitcher
public bool HasCustomSwitcher { get; }
属性值
HasSwitcher
public bool HasSwitcher { get; set; }
属性值
Header
public string Header { get; set; }
属性值
IconGlyph
public PackIconKind IconGlyph { get; set; }
属性值
- PackIconKind
IsOn
public bool IsOn { get; set; }
属性值
Switcher
public object? Switcher { get; set; }
属性值
方法
InitializeComponent()
InitializeComponent
public void InitializeComponent()