Table of Contents

RootAttachedSettingsDependencyControl 类

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

RootAttachedSettingsDependencyControl.xaml 的交互逻辑

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

构造函数

RootAttachedSettingsDependencyControl()

Initializes a new instance of the UserControl class.

public RootAttachedSettingsDependencyControl()

RootAttachedSettingsDependencyControl(AttachedSettingsControlInfo, bool)

public RootAttachedSettingsDependencyControl(AttachedSettingsControlInfo controlInfo, bool isDrawerMode = false)

参数

controlInfo AttachedSettingsControlInfo
isDrawerMode bool

字段

ControlInfoProperty

public static readonly DependencyProperty ControlInfoProperty

字段值

DependencyProperty

IsDrawerModeProperty

public static readonly DependencyProperty IsDrawerModeProperty

字段值

DependencyProperty

属性

ControlInfo

public AttachedSettingsControlInfo? ControlInfo { get; set; }

属性值

AttachedSettingsControlInfo

IsDrawerMode

public bool IsDrawerMode { get; set; }

属性值

bool

Nodes

public ObservableCollection<AttachableObjectNode> Nodes { get; set; }

属性值

ObservableCollection<AttachableObjectNode>

方法

InitializeComponent()

InitializeComponent

public void InitializeComponent()

OnPropertyChanged(string?)

protected virtual void OnPropertyChanged(string? propertyName = null)

参数

propertyName string

SetField<T>(ref T, T, string?)

protected bool SetField<T>(ref T field, T value, string? propertyName = null)

参数

field T
value T
propertyName string

返回

bool

类型参数

T

事件

PropertyChanged

Occurs when a property value changes.

public event PropertyChangedEventHandler? PropertyChanged

事件类型

PropertyChangedEventHandler