WizardForm.CanCancel Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.