Setter 构造函数

定义

初始化 Setter 类的新实例。

重载

Setter()

初始化 Setter 类的新实例。

Setter(DependencyProperty, Object)

用指定的属性和值初始化 Setter 类的新实例。

Setter(DependencyProperty, Object, String)

用指定的属性、值和目标名称初始化 Setter 类的新实例。

Setter()

初始化 Setter 类的新实例。

public:
 Setter();
public Setter ();
Public Sub New ()

适用于

Setter(DependencyProperty, Object)

用指定的属性和值初始化 Setter 类的新实例。

public:
 Setter(System::Windows::DependencyProperty ^ property, System::Object ^ value);
public Setter (System.Windows.DependencyProperty property, object value);
new System.Windows.Setter : System.Windows.DependencyProperty * obj -> System.Windows.Setter
Public Sub New (property As DependencyProperty, value As Object)

参数

property
DependencyProperty

要应用 DependencyPropertyValue

value
Object

要应用于属性的值。

适用于

Setter(DependencyProperty, Object, String)

用指定的属性、值和目标名称初始化 Setter 类的新实例。

public:
 Setter(System::Windows::DependencyProperty ^ property, System::Object ^ value, System::String ^ targetName);
public Setter (System.Windows.DependencyProperty property, object value, string targetName);
new System.Windows.Setter : System.Windows.DependencyProperty * obj * string -> System.Windows.Setter
Public Sub New (property As DependencyProperty, value As Object, targetName As String)

参数

property
DependencyProperty

要应用 DependencyPropertyValue

value
Object

要应用于属性的值。

targetName
String

Setter 所用于的子节点的名称。

适用于