PropertyValidationContext 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 PropertyValidationContext class.
Overloads
PropertyValidationContext(Object, DependencyProperty) |
Initializes a new instance of the PropertyValidationContext class. |
PropertyValidationContext(Object, PropertyInfo, String) |
Initializes a new instance of the PropertyValidationContext class. |
PropertyValidationContext(Object, DependencyProperty)
Initializes a new instance of the PropertyValidationContext class.
public:
PropertyValidationContext(System::Object ^ propertyOwner, System::Workflow::ComponentModel::DependencyProperty ^ dependencyProperty);
public PropertyValidationContext (object propertyOwner, System.Workflow.ComponentModel.DependencyProperty dependencyProperty);
new System.Workflow.ComponentModel.Compiler.PropertyValidationContext : obj * System.Workflow.ComponentModel.DependencyProperty -> System.Workflow.ComponentModel.Compiler.PropertyValidationContext
Public Sub New (propertyOwner As Object, dependencyProperty As DependencyProperty)
Parameters
- propertyOwner
- Object
The object that owns the property.
- dependencyProperty
- DependencyProperty
The associated DependencyProperty.
Exceptions
propertyOwner
is a null reference (Visual Basic Nothing
).
Applies to
PropertyValidationContext(Object, PropertyInfo, String)
Initializes a new instance of the PropertyValidationContext class.
public:
PropertyValidationContext(System::Object ^ propertyOwner, System::Reflection::PropertyInfo ^ propertyInfo, System::String ^ propertyName);
public PropertyValidationContext (object propertyOwner, System.Reflection.PropertyInfo propertyInfo, string propertyName);
new System.Workflow.ComponentModel.Compiler.PropertyValidationContext : obj * System.Reflection.PropertyInfo * string -> System.Workflow.ComponentModel.Compiler.PropertyValidationContext
Public Sub New (propertyOwner As Object, propertyInfo As PropertyInfo, propertyName As String)
Parameters
- propertyOwner
- Object
The object that owns the property.
- propertyInfo
- PropertyInfo
The associated DependencyProperty.
- propertyName
- String
The name of the property.
Exceptions
propertyName
is a null reference (Visual Basic Nothing
).