Editar

Compartir a través de


Condition Constructors

Definition

Initializes a new instance of the Condition class.

Overloads

Condition()

Initializes a new instance of the Condition class.

Condition(BindingBase, Object)

Initializes a new instance of the Condition class.

Condition(DependencyProperty, Object)

Initializes a new instance of the Condition class with the specified property and value. This constructor performs parameter validation.

Condition(DependencyProperty, Object, String)

Initializes a new instance of the Condition class with the specified property, value, and the name of the source object.

Condition()

Initializes a new instance of the Condition class.

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

Applies to

Condition(BindingBase, Object)

Initializes a new instance of the Condition class.

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)

Parameters

binding
BindingBase

The binding that specifies the property of the condition.

conditionValue
Object

The value of the condition.

Applies to

Condition(DependencyProperty, Object)

Initializes a new instance of the Condition class with the specified property and value. This constructor performs parameter validation.

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)

Parameters

conditionProperty
DependencyProperty

The property of the condition.

conditionValue
Object

The value of the condition.

Applies to

Condition(DependencyProperty, Object, String)

Initializes a new instance of the Condition class with the specified property, value, and the name of the source object.

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)

Parameters

conditionProperty
DependencyProperty

The property of the condition.

conditionValue
Object

The value of the condition.

sourceName
String

x:Name of the object with the conditionProperty.

Applies to