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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기