Redigera

Dela via


BaseValidator.GetValidationProperty(Object) Method

Definition

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

component
Object

A Object that represents the control to get the validation property of.

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