Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#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