Skip to main content

ControlBase.GetValidationCanceled(Control) Method

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

Namespace: DevExpress.Utils.Controls

Assembly: DevExpress.Utils.v24.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