ControlBase.PerformValidation(Control, Boolean) Method

Returns if the ControlBase validates its value before the user may proceed.

Namespace: DevExpress.Utils.Controls

Assembly: DevExpress.Utils.v20.1.dll

Declaration

public static bool PerformValidation(
    Control control,
    bool resetCancelled = false
)
Public Shared Function PerformValidation(
    control As Control,
    resetCancelled As Boolean = False
) As Boolean

Parameters

Name Type Description
control Control

The control that needs to be checked.

Optional Parameters

Name Type Default Description
resetCancelled Boolean

False

true, to reset the control's ValidationCanceled property value; otherwise, false.

Returns

Type Description
Boolean

true, if the ControlBase validates its value before the user may proceed; otherwise, false.

See Also