Condition Constructors
Definition
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.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應