Is there a wizard control in WPF?
Question
Are there any wizard type controls in WPF? I need functionality where I can go forward and back and use tabs to select a particular item which will show the details of the nested items. I can use the TabControl control but the tab items are dynamic so I cannot nest the region inside the tab item.
Solution
WPF has a navigation infrastructure built in:
Also check out the wizard sample
OTHER TIPS
Another simple way I have used for a basic Wizard is to use multiple Grids and change the Visibility properties when the buttons are clicked, using an int to keep track of the 'step number'
<Grid Name="Page1">
<TextBlock>Page 1</TextBlock>
</Grid>
<Grid Name="Page2" Visibility="Hidden">
<TextBlock>Page 2</TextBlock>
</Grid>
You may try open source Avalon Wizard.
Check This link. you can create wonderful wizard using extended wpf toolkit.
Found this great example on codeproject that should give you everything that you need:
http://www.codeproject.com/Articles/31837/Creating-an-Internationalized-Wizard-in-WPF
You may also consider rolling your own Wizard control. It isn't that difficult! The following posts should be helpful: WPF Wizard Control Part I and WPF Wizard Control Part II
MVVM Wizard - Usage like this (Requires DI container, views are created on first navigation)
<controls:Wizard>
<controls:WizardStep ViewType="{x:Type test:View1}" />
<controls:WizardStep ViewType="{x:Type test:View2}" />
<controls:WizardStep ViewType="{x:Type test:View3}" />
</controls:Wizard>
or like this (no DI is required, but creates all views straight away)
<controls:Wizard>
<controls:WizardStep>
<test:View1 />
</controls:WizardStep>
<controls:WizardStep>
<test:View2 />
</controls:WizardStep>
<controls:WizardStep>
<test:View3 />
</controls:WizardStep>
</controls:Wizard>