Table of Contents

SettingsControl 类

命名空间
ClassIsland.Core.Controls
程序集
ClassIsland.Core.dll

SettingsControl.xaml 的交互逻辑

public class SettingsControl : UserControl, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, IComponentConnector
继承
SettingsControl
实现
继承成员

构造函数

SettingsControl()

public SettingsControl()

字段

DescriptionProperty

public static readonly DependencyProperty DescriptionProperty

字段值

DependencyProperty

HasSwitcherProperty

public static readonly DependencyProperty HasSwitcherProperty

字段值

DependencyProperty

HeaderProperty

public static readonly DependencyProperty HeaderProperty

字段值

DependencyProperty

IconGlyphProperty

public static readonly DependencyProperty IconGlyphProperty

字段值

DependencyProperty

IsCompactProperty

public static readonly DependencyProperty IsCompactProperty

字段值

DependencyProperty

IsOnProperty

public static readonly DependencyProperty IsOnProperty

字段值

DependencyProperty

SwitcherProperty

public static readonly DependencyProperty SwitcherProperty

字段值

DependencyProperty

属性

Description

public string Description { get; set; }

属性值

string

HasCustomSwitcher

public bool HasCustomSwitcher { get; }

属性值

bool

HasSwitcher

public bool HasSwitcher { get; set; }

属性值

bool

Header

public string Header { get; set; }

属性值

string

IconGlyph

public PackIconKind IconGlyph { get; set; }

属性值

PackIconKind

IsCompact

public bool IsCompact { get; set; }

属性值

bool

IsOn

public bool IsOn { get; set; }

属性值

bool

Switcher

public object? Switcher { get; set; }

属性值

object

方法

InitializeComponent()

InitializeComponent

public void InitializeComponent()