NanoByte.Common  2.6.1
NanoByte.Common.Controls.Wizard Class Reference

A base class for creating wizard interfaces. Manages pages as a stack of UserControls. More...

Inheritance diagram for NanoByte.Common.Controls.Wizard:

Public Member Functions

 Wizard ()
 Creates a new wizard. More...
 

Protected Member Functions

void PushPage (UserControl page)
 Displays a new wizard page and adds it to the PageStack. More...
 
void PopPage ()
 Removes the current wizard page form the PageStack and displays the previous one. More...
 

Protected Attributes

readonly Stack< UserControl > PageStack = new()
 The wizard page history with the currently visible page on top. More...
 

Detailed Description

A base class for creating wizard interfaces. Manages pages as a stack of UserControls.

See also
IWizardPage

Constructor & Destructor Documentation

◆ Wizard()

NanoByte.Common.Controls.Wizard.Wizard ( )
inline

Creates a new wizard.

Member Function Documentation

◆ PopPage()

void NanoByte.Common.Controls.Wizard.PopPage ( )
inlineprotected

Removes the current wizard page form the PageStack and displays the previous one.

◆ PushPage()

void NanoByte.Common.Controls.Wizard.PushPage ( UserControl  page)
inlineprotected

Displays a new wizard page and adds it to the PageStack.

Parameters
pageThe page to display and add.
See also
IWizardPage

Member Data Documentation

◆ PageStack

readonly Stack<UserControl> NanoByte.Common.Controls.Wizard.PageStack = new()
protected

The wizard page history with the currently visible page on top.


The documentation for this class was generated from the following file: