ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.5.2 Assembly / C1.Win.C1FlexGrid Namespace / ValidateEditEventArgs Class / FailedReason Property

In This Topic
    FailedReason Property
    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