Table of Contents

TriggerSettingsControlBase 类

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

触发器设置控件基类

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

方法

GetInstance(TriggerInfo, ref object?)

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

public static TriggerSettingsControlBase? GetInstance(TriggerInfo info, ref object? settings)

参数

info TriggerInfo

控件信息

settings object

要附加的设置对象

返回

TriggerSettingsControlBase

初始化的控件对象。

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