In This Article

WizardSelectedPageChangeEventArgs Class

Provides event arguments for a Wizard selected page change.

public class WizardSelectedPageChangeEventArgs : CancelRoutedEventArgs
Inheritance:
Object EventArgs RoutedEventArgs CancelRoutedEventArgs Object

Constructors

WizardSelectedPageChangeEventArgs(WizardPage, WizardPage, WizardPageSelectionFlags, RoutedEvent)

Initializes a new instance of the WizardSelectedPageChangeEventArgs class.

public WizardSelectedPageChangeEventArgs(WizardPage oldSelectedPage, WizardPage newSelectedPage, WizardPageSelectionFlags selectionFlags, RoutedEvent routedEvent)
Parameter Type Description
oldSelectedPage WizardPage

The WizardPage that is currently selected.

newSelectedPage WizardPage

The WizardPage that is about to be selected.

selectionFlags WizardPageSelectionFlags

A WizardPageSelectionFlags indicating information about the page selection.

routedEvent RoutedEvent

The routed event identifier for this event arguments instance.

Properties

NewSelectedPage

Gets or sets the WizardPage that is about to be selected.

public WizardPage NewSelectedPage { get; set; }

Property Value

WizardPage:

The WizardPage that is about to be selected.

OldSelectedPage

Gets the WizardPage that is currently selected.

public WizardPage OldSelectedPage { get; }

Property Value

WizardPage:

The WizardPage that is currently selected.

SelectionFlags

Gets a WizardPageSelectionFlags indicating information about the page selection.

public WizardPageSelectionFlags SelectionFlags { get; }

Property Value

WizardPageSelectionFlags:

A WizardPageSelectionFlags indicating information about the page selection.

Methods

InvokeEventHandler(Delegate, Object)

Invokes a type-specific event handler for the event arguments.

protected override void InvokeEventHandler(Delegate genericHandler, object genericTarget)
Parameter Type Description
genericHandler Delegate

The generic handler / delegate implementation to be invoked.

genericTarget Object

The target on which the provided handler should be invoked.

Inherited Members