Edit this page

Getting Started

This tutorial will walk you through the creation of a sample application that contains a RadWizard control.

Assembly References

In order to use the RadWizard control in your projects you have to add references to the following assemblies:

  • Telerik.Windows.Controls
  • Telerik.Windows.Controls.Navigation

You can find the required assemblies for each control from the suite in the Controls Dependencies help article.

Adding RadWizard to the Project

You can add RadWizard in XAML or in code. You can also add the control by dragging it from the Toolbox.

Example 1: Adding a RadWizard in XAML

 <telerik:RadWizard x:Name="wizard" />

In order to use RadWizard you should define the following namespace:
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"

Example 2: Adding a RadWizard in code

 RadWizard wizard = new RadWizard();
Private wizard As RadWizard = New RadWizard()

Adding pages to RadWizard

To add pages to RadWizard you can use its WizardPages collection, which consists of WizardPage elements. Here is an example of defining a page in code and in xaml:

Example 3: Adding a WizardPage in XAML

<telerik:RadWizard x:Name="radWizard" >
    <telerik:RadWizard.WizardPages>
        <telerik:WizardPage Content="My Wizard Page Content" />
    </telerik:RadWizard.WizardPages>            
</telerik:RadWizard>

Example 4: Adding WizardPages in code

 wizard.WizardPages.Add(new WizardPage() { Content = "My Wizard Page Content" });
 wizard.WizardPages.Add(New WizardPage() With {.Content ="My Wizard Page Content"})

Figure 1: RadWizard with WizardPage

For more information on how to control the visualization of the buttons, check out the Wizard Buttons article.

See also

Was this article helpful? Yes No

Give article feedback

Tell us how we can improve this article

Dummy