Condition Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the Condition class.
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. |
Initializes a new instance of the Condition class.
public:
Condition();
public Condition ();
Public Sub New ()
Applies to
.NET Framework 4.8.1 και άλλες εκδόσεις
Προϊόν | Εκδόσεις |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
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
.NET Framework 4.8.1 και άλλες εκδόσεις
Προϊόν | Εκδόσεις |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
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
.NET Framework 4.8.1 και άλλες εκδόσεις
Προϊόν | Εκδόσεις |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
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
.NET Framework 4.8.1 και άλλες εκδόσεις
Προϊόν | Εκδόσεις |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET σχόλια
.NET είναι ένα έργο ανοιχτού κώδικα. Επιλέξτε μια σύνδεση για να παρέχετε σχόλια: