Share via


WizardForm.CanCancel Property

Definition

When overridden in a derived class, gets a value indicating whether the wizard can be canceled.

protected:
 virtual property bool CanCancel { bool get(); };
protected virtual bool CanCancel { get; }
member this.CanCancel : bool
Protected Overridable ReadOnly Property CanCancel As Boolean

Property Value

true if the wizard can be canceled; otherwise, false. The default is true.

Remarks

If the CanCancel property is false, the Cancel button is disabled and you cannot cancel the wizard. This property enables you to create a custom CanCancel property.

Applies to