Quantcast
Channel: Programming – Xinyustudio
Viewing all articles
Browse latest Browse all 284

How to use WPF AvalonWizard control (I)

$
0
0

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.

image  image

2. Create a new window, and in the XAML file, add below markup:

image

and your designer should look like this:

image

3. Add some WizardPages in the markup:

image

 

 

and your designer should look like this:

image image

 

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.

image

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.

image


Filed under: Dotnet/C# Tagged: AvalonWizard tutorial example

Viewing all articles
Browse latest Browse all 284

Trending Articles