Wizard

Represents a wizard control that presents pages to assist the user in performing a task or series of tasks.

wizard.jpg

        <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>

Properties / Events

Property Description
BackButtonContent Gets or sets the content of the wizard's Back button.
BackButtonVisibility Gets or sets the visibility of the Back button.
CanCancel Gets or sets a value indicating whether the Cancel button is enabled.
CancelButtonClosesWindow Gets or sets a value indicating whether the Cancel button closes the window.
CancelButtonContent Gets or sets the content of the Cancel button.
CancelButtonVisibility Gets or sets the visibility of the Cancel button.
CanFinish Gets or sets a value indicating whether the Finish button is enabled.
CanHelp Gets or sets a value indicating whether the Help button is enabled.
CanSelectNextPage Gets or sets a value indicating whether the Next Page button is enabled.
CanSelectPreviousPage Gets or sets a value indicating whether the Previous Page button is enabled.
CurrentPage Gets or sets the current page in the wizard.
ExteriorPanelMinWidth Gets or sets the minimum width of the exterior panel.
FinishButtonClosesWindow Gets or sets a value indicating whether the Finish button closes the containing window.
FinishButtonContent Gets or sets the content of the Finish button.
FinishButtonVisibility Gets or sets the visibility of the Finish button.
HelpButtonContent Gets or sets the Help button content.
HelpButtonVisibility Gets or sets the visibility of the Help button.
NextButtonContent Gets or sets the Next button content.
NextButtonVisibility Gets or sets the visibility of the Next button.


Event Description
Cancel Raised when the wizard is canceled (the Cancel button is clicked).
Finish Raised when the Finish button is clicked.
Help Raised when the Help button is pressed.
PageChanged Raised when the current page changes.


Get 50+ awesome WPF controls in the Plus Edition.
---

Last edited May 9, 2013 at 9:51 PM by Kosmatos, version 8

Comments

gcadmes Jan 30, 2013 at 12:29 AM 
Has a developer for this toolkit tested the ItemsSource dependency property? Assigning an ObservableCollection to the Wizard's ItemsSource does nothing.

Now that this toolkit is on version 1.9, would it be too much to ask if someone can revisit this control to address some of the aforementioned issues as well as the one I've raised?

kind regards,
Greg

jmmooney Jul 11, 2012 at 7:06 PM 
I would like the ability to change the color of the footer where the buttons are. Also put spacing between the back and next buttons. That is all the suggestions I have for now.

-Justin

sameer_mohammed May 29, 2012 at 9:28 AM 
This control doesn't allow to give Content or Value type. But through .xaml this is possible. Using properties window it doesn't allow to change its content value...
Md Minhaj, Jamshedpur, Jharkhand, India

dozer Apr 17, 2012 at 3:36 PM 
Just did my initial wizard using this wizard, and ran into problems directly, has anyone got this to work?

I know what's wrong in the code, so I'll summarize them when I am finished with the implementation and use of it as an issue.

But basically, the setting of CurrentPage is done before any page is added (OnInitialized is to early) and the WizardPageButtonVisibilityConverter doesn't check for DependencyProperty.UnsetValue (which it should). These two are what I found in about 3 minutes of testing.

--Rune