The AvalonWizard control is a handy WPF wizard control. To use it in your project, follow below procedures:
1. In your project, add a reference to the AvalonWizard assembly. You can right click the reference folder, and select “Manage NuGet Packages”, and download the package using NuGet.
2. Create a new window, and in the XAML file, add below markup:
and your designer should look like this:
3. Add some WizardPages in the markup:
and your designer should look like this:
Tips: If your designer does not update after adding the above XAML lines, try to edit the PageIndex as shown below, and change it from 0, for instance, to 1 or whatever… This will update the designer view.
By changing the PageIndex in XAML, you can switch to different pages at design time, then drag the WPF controls in the designer or XAML code.
Filed under: Dotnet/C# Tagged: AvalonWizard tutorial example
