WizardPageCancelEventArgs Class
Provides event arguments for cancelling page switching events.
public class WizardPageCancelEventArgs : CancelEventArgs
- Inheritance:
- object EventArgs CancelEventArgs object
Constructors
WizardPageCancelEventArgs(WizardPage, WizardPageEventReason)
Initializes a new instance of the WizardPageCancelEventArgs
class.
public WizardPageCancelEventArgs(WizardPage page, WizardPageEventReason reason)
Parameter | Type | Description |
---|---|---|
page | WizardPage | The WizardPage that is about to be selected. |
reason | WizardPageEventReason | A WizardPageEventReason specifying what caused the event to occur. |
Properties
Page
Gets the WizardPage that is about to be selected.
public WizardPage Page { get; }
Property Value
- WizardPage:
A WizardPage specifying the page that is about to be selected. A null reference is returned if no page will be selected.
Reason
Gets a WizardPageEventReason specifying what caused the event to occur.
public WizardPageEventReason Reason { get; }
Property Value
- WizardPageEventReason:
A WizardPageEventReason specifying what caused the event to occur.