In This Article

WizardPageCancelEventArgs Class

Provides event arguments for cancelling page switching events.

public class WizardPageCancelEventArgs : CancelEventArgs
Inheritance:
object EventArgs CancelEventArgs object

Constructors

WizardPageCancelEventArgs(WizardPage?, WizardPageEventReason)

Provides event arguments for cancelling page switching events.

public WizardPageCancelEventArgs(WizardPage? page, WizardPageEventReason reason)
Parameter Type Description
page WizardPage

The WizardPage, if any, that is about to be selected.

reason WizardPageEventReason

A WizardPageEventReason specifying what caused the event to occur.

Properties

Page

The WizardPage, if any, 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

A WizardPageEventReason specifying what caused the event to occur.

public WizardPageEventReason Reason { get; }

Property Value

WizardPageEventReason

Inherited Members

Extension Methods