Xceed Toolkit Plus for WPF v4.6 Documentation
Wizard Class
Members  Example 


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace : Wizard Class
Represents a wizard control that presents pages to assist the user in performing a task or series of tasks
Syntax
'Declaration
 
<DefaultEventAttribute("OnItemsChanged")>

<DefaultPropertyAttribute("Items")>

<ContentPropertyAttribute("Items")>

<StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=System.Windows.FrameworkElement)>

<LocalizabilityAttribute(LocalizationCategory.None, Readability=Readability.Unreadable)>

<XmlLangPropertyAttribute("Language")>

<UsableDuringInitializationAttribute(True)>

<RuntimeNamePropertyAttribute("Name")>

<UidPropertyAttribute("Uid")>

<TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>

<NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>

Public Class Wizard 

   Inherits System.Windows.Controls.ItemsControl
'Usage
 
Dim instance As Wizard
[DefaultEvent("OnItemsChanged")]

[DefaultProperty("Items")]

[ContentProperty("Items")]

[StyleTypedProperty(Property="ItemContainerStyle", StyleTargetType=System.Windows.FrameworkElement)]

[Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]

[XmlLangProperty("Language")]

[UsableDuringInitialization(true)]

[RuntimeNameProperty("Name")]

[UidProperty("Uid")]

[TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]

[NameScopeProperty("NameScope", System.Windows.NameScope)]

public class Wizard : System.Windows.Controls.ItemsControl 
Example
The following shows how to create a Wizard
<xctk:Wizard FinishButtonClosesWindow="True">

            <xctk:WizardPage x:Name="IntroPage" 

                                   Title="Welcome to my Wizard"

                                   Description="This Wizard will walk you though how to do something." />

            <xctk:WizardPage x:Name="Page1" PageType="Interior"

                                   Title="Page 1"

                                   Description="This is the first page in the process."

                                   NextPage="{Binding ElementName=Page2}"

                                   PreviousPage="{Binding ElementName=IntroPage}"/>

            <xctk:WizardPage x:Name="Page2" PageType="Interior"

                                   Title="Page 2"

                                   Description="This is the second page in the process"/>

            <xctk:WizardPage x:Name="LastPage" PageType="Interior"

                                   Title="Last Page"

                                   Description="This is the last page in the process"

                                   CanFinish="True"/>

        </xctk:Wizard>
Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  System.Windows.Controls.Control
                     System.Windows.Controls.ItemsControl
                        Xceed.Wpf.Toolkit.Wizard

Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Wizard Members
Xceed.Wpf.Toolkit Namespace