BaseValidator.GetValidationProperty(Object) Method
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.
Determines the validation property of a control (if it exists).
public:
static System::ComponentModel::PropertyDescriptor ^ GetValidationProperty(System::Object ^ component);
public static System.ComponentModel.PropertyDescriptor GetValidationProperty (object component);
static member GetValidationProperty : obj -> System.ComponentModel.PropertyDescriptor
Public Shared Function GetValidationProperty (component As Object) As PropertyDescriptor
Parameters
Returns
A PropertyDescriptor that contains the validation property of the control.
Remarks
The GetValidationProperty method is a helper function that gets the validation property of the specified input control.
Note
This method is used primarily by control developers.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.