FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid Namespace / ValidationRule Class / Validate Method
The value to check.

In This Topic
    Validate Method (ValidationRule)
    In This Topic
    Performs validation checks on a value.
    Syntax
    'Declaration
     
    
    Public MustOverride Function Validate( _
       ByVal value As Object _
    ) As EditorValidationFailedReason
    public abstract EditorValidationFailedReason Validate( 
       object value
    )

    Parameters

    value
    The value to check.

    Return Value

    EditorValidationFailedReason.None if the value is valid; otherwise, value of corresponding reason.
    Remarks
    If the corresponding reason is not specified in the EditorValidationFailedReason enumeration this method should return EditorValidationFailedReason.Custom.
    See Also