Table of Contents

AttachedSettingsControlBase 类

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

可附加设置的控件

public abstract class AttachedSettingsControlBase : UserControl, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, INotifyPropertyChanged
继承
AttachedSettingsControlBase
实现
Derived
继承成员

方法

GetInstance(AttachedSettingsControlInfo, ref object?)

从设置对象获取控件实例。

public static AttachedSettingsControlBase? GetInstance(AttachedSettingsControlInfo info, ref object? settings)

参数

info AttachedSettingsControlInfo

控件信息

settings object

要附加的设置对象

返回

AttachedSettingsControlBase

初始化的控件对象。

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