Skip to main content

ControlBase.PerformValidation(Control, Boolean) Method

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

Namespace: DevExpress.Utils.Controls

Assembly: DevExpress.Utils.v24.1.dll

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

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