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
AttachedSettingsControlInfoisDrawerMode
bool
字段
ControlInfoProperty
public static readonly DependencyProperty ControlInfoProperty
字段值
IsDrawerModeProperty
public static readonly DependencyProperty IsDrawerModeProperty
字段值
属性
ControlInfo
public AttachedSettingsControlInfo? ControlInfo { get; set; }
属性值
IsDrawerMode
public bool IsDrawerMode { get; set; }
属性值
Nodes
public ObservableCollection<AttachableObjectNode> Nodes { get; set; }
属性值
方法
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
Tvalue
TpropertyName
string
返回
类型参数
T
事件
PropertyChanged
Occurs when a property value changes.
public event PropertyChangedEventHandler? PropertyChanged