Condition 构造函数

定义

初始化 Condition 类的新实例。

重载

Condition()

初始化 Condition 类的新实例。

Condition(BindingBase, Object)

初始化 Condition 类的新实例。

Condition(DependencyProperty, Object)

用指定的属性和值初始化 Condition 类的新实例。 此构造函数执行参数验证。

Condition(DependencyProperty, Object, String)

使用指定的属性、值和源对象的名称初始化 Condition 类的新实例。

Condition()

初始化 Condition 类的新实例。

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

适用于

Condition(BindingBase, Object)

初始化 Condition 类的新实例。

public:
 Condition(System::Windows::Data::BindingBase ^ binding, System::Object ^ conditionValue);
public Condition (System.Windows.Data.BindingBase binding, object conditionValue);
new System.Windows.Condition : System.Windows.Data.BindingBase * obj -> System.Windows.Condition
Public Sub New (binding As BindingBase, conditionValue As Object)

参数

binding
BindingBase

指定条件的属性的绑定。

conditionValue
Object

条件的值。

适用于

Condition(DependencyProperty, Object)

用指定的属性和值初始化 Condition 类的新实例。 此构造函数执行参数验证。

public:
 Condition(System::Windows::DependencyProperty ^ conditionProperty, System::Object ^ conditionValue);
public Condition (System.Windows.DependencyProperty conditionProperty, object conditionValue);
new System.Windows.Condition : System.Windows.DependencyProperty * obj -> System.Windows.Condition
Public Sub New (conditionProperty As DependencyProperty, conditionValue As Object)

参数

conditionProperty
DependencyProperty

条件的属性。

conditionValue
Object

条件的值。

适用于

Condition(DependencyProperty, Object, String)

使用指定的属性、值和源对象的名称初始化 Condition 类的新实例。

public:
 Condition(System::Windows::DependencyProperty ^ conditionProperty, System::Object ^ conditionValue, System::String ^ sourceName);
public Condition (System.Windows.DependencyProperty conditionProperty, object conditionValue, string sourceName);
new System.Windows.Condition : System.Windows.DependencyProperty * obj * string -> System.Windows.Condition
Public Sub New (conditionProperty As DependencyProperty, conditionValue As Object, sourceName As String)

参数

conditionProperty
DependencyProperty

条件的属性。

conditionValue
Object

条件的值。

sourceName
String

具有 conditionProperty 的对象的 x:Name

适用于