Skip to main content
A newer version of this page is available. .

ControlBase.PerformValidation(Control, Boolean) Method

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

Namespace: DevExpress.Utils.Controls

Assembly: DevExpress.Utils.v18.2.dll

Declaration

public static bool PerformValidation(
    Control control,
    bool resetCancelled = false
)

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