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

WizardControl.UseCancelButton Property

Gets or sets whether the Cancel button is automatically clicked when the user presses the Esc key.

Namespace: DevExpress.XtraWizard

Assembly: DevExpress.XtraWizard.v24.2.dll

NuGet Package: DevExpress.Win

#Declaration

[DefaultValue(true)]
[DXCategory("Behavior")]
public bool UseCancelButton { get; set; }

#Property Value

Type Default Description
Boolean true

true to enable Esc key processing; otherwise, false.

#Remarks

Setting this property to true allows the user to easily perform the actions defined via the WizardControl.CancelClick event handler by simply pressing the Esc key, instead of manually clicking the corresponding button with the mouse.

See Also