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.PerformValidation(Control, Boolean) Method

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

Namespace: DevExpress.Utils.Controls

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