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

ControlBase.GetValidationCanceled(Control) Method

Returns the ValidationCancelled property value of a control, if this property exists.

Namespace: DevExpress.Utils.Controls

Assembly: DevExpress.Utils.v18.2.dll

Declaration

public static bool GetValidationCanceled(
    Control control
)

Parameters

Name Type Description
control Control

A Object that represents the control whose ValidationCancelled property value is returned.

Returns

Type Description
Boolean

true if the validation is cancelled; otherwise, false.

Remarks

The GetValidationCanceled method is a helper function that gets the ValidationCancelled property value of the specified input control.

Note

This method is used primarily by control developers.

See Also