FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid Namespace / ValidateEditEventArgs Class / FailedReason Property

In This Topic
    FailedReason Property (ValidateEditEventArgs)
    In This Topic
    Gets or sets a value describing a reason why validation of editor value failed.
    Syntax
    'Declaration
     
    
    Public Property FailedReason As EditorValidationFailedReason
    public EditorValidationFailedReason FailedReason {get; set;}
    Remarks

    This parameter determines what ValidationRule.ErrorMessage of which specified validation rules will be used.

    If this parameter is set to EditorValidationFailedReason.Custom then GetErrorInfoEventArgs.ErrorText should be specified in C1FlexGridBase.GetEditorErrorInfo event.

    See Also