Back to Devexpress

WizardControl.CancelButtonCausesValidation Property

windowsforms-devexpress-dot-xtrawizard-dot-wizardcontrol-ad9a31f0.md

latest1.9 KB
Original Source

WizardControl.CancelButtonCausesValidation Property

Gets or sets whether a click on the Cancel button must fire validation events for the currently focused control.

Namespace : DevExpress.XtraWizard

Assembly : DevExpress.XtraWizard.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

csharp
[DefaultValue(false)]
[DXCategory("Behavior")]
public bool CancelButtonCausesValidation { get; set; }
vb
<DefaultValue(False)>
<DXCategory("Behavior")>
Public Property CancelButtonCausesValidation As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if a click on this button must fire validation events; otherwise, false.

|

Remarks

If the CancelButtonCausesValidation property is set to true , a click on the corresponding button fires the validation events ( Validating and Validated ) for the currently focused control.

See Also

PreviousButtonCausesValidation

HelpButtonCausesValidation

CustomizeCommandButtons

PageValidating

WizardControl Class

WizardControl Members

DevExpress.XtraWizard Namespace