[ACCEPTED]-Is there a wizard control in WPF?-wizard
WPF has a navigation infrastructure built 1 in:
Also check out the wizard sample
Another simple way I have used for a basic 4 Wizard is to use multiple Grids and change 3 the Visibility properties when the buttons 2 are clicked, using an int to keep track 1 of the 'step number'
<Grid Name="Page1">
<TextBlock>Page 1</TextBlock>
</Grid>
<Grid Name="Page2" Visibility="Hidden">
<TextBlock>Page 2</TextBlock>
</Grid>
Found this great example on codeproject 2 that should give you everything that you 1 need:
http://www.codeproject.com/Articles/31837/Creating-an-Internationalized-Wizard-in-WPF
MVVM Wizard - Usage like this (Requires DI container, views 3 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 2 this (no DI is required, but creates all 1 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>
More Related questions
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.