Table of Contents

RuleSettingsControlBase 类

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

可附加设置的控件

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

方法

GetInstance(RuleRegistryInfo, ref object?)

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

public static RuleSettingsControlBase? GetInstance(RuleRegistryInfo info, ref object? settings)

参数

info RuleRegistryInfo

控件信息

settings object

要附加的设置对象

返回

RuleSettingsControlBase

初始化的控件对象。

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