Back to Devexpress

WizardControl.UseCancelButton Property

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

latest1.6 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Behavior")]
public bool UseCancelButton { get; set; }
vb
<DefaultValue(True)>
<DXCategory("Behavior")>
Public Property UseCancelButton As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

UseAcceptButton

WizardControl Class

WizardControl Members

DevExpress.XtraWizard Namespace