Table of Contents

Class Wizard

Namespace
Tudormobile.Wpf.Controls
Assembly
Tudormobile.WpfControls.dll

Represents a wizard-style navigation window that allows users to navigate through a sequence of pages.

public class Wizard : NavigationWindow, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, IUriContext
Inheritance
Wizard
Implements
Inherited Members

Remarks

The Wizard class provides a framework for creating multi-step workflows or wizards. Pages can be added to the Pages collection, and the wizard will handle navigation between them. The wizard supports forward navigation, resizing, and a finish button to complete the workflow. The control uses a custom style and template, which can be overridden. Template parts include:

  • PART_ForwardButton
  • PART_FinishButton
  • PART_ResizeGrip

Constructors

Wizard()

Initializes a new instance of the Wizard class.

public Wizard()

Remarks

This constructor sets up the default style for the wizard by retrieving the style resource associated with the Wizard type. It also initializes the Pages collection and subscribes to the Loaded event to handle additional setup when the wizard is loaded.

Properties

IsForwardButtonEnabled

True if UI should allow forward navigation.

public bool IsForwardButtonEnabled { get; set; }

Property Value

bool

Pages

Gets or sets the collection of pages associated with this instance.

public IList<object> Pages { get; set; }

Property Value

IList<object>

Remarks

Use this property to access or modify the pages. Changes to the collection will not automatically trigger updates unless explicitly handled.

Methods

OnApplyTemplate()

Called when the template generation for the visual tree is created.

public override void OnApplyTemplate()

OnClosed(EventArgs)

Raises the Closed event.

protected override void OnClosed(EventArgs e)

Parameters

e EventArgs