Getting Started with WPF ProgressBar
This tutorial will walk you through the creation of a sample application that contains RadStepProgressBar.
The following picture shows the final result produced by the code of this tutorial.
Assembly References
In order to use RadStepProgressBar, you will need to add references to the following assemblies:
- Telerik.Windows.Controls
You can find the required assemblies for each control from the suite in the Controls Dependencies help article.
Defining RadStepProgressBar
To start using the RadStepProgressBar control, you can just populate its Items collection with RadStepProgressBarItem objects. Each RadStepProgressBar will produce a step visual element with track bar rendered between the steps. The following example shows how to add 3 steps along with text to each step added via the Content property of the RadStepProgressBarItem elements. In the example, the second step is selected.
<telerik:RadStepProgressBar SelectedIndex="1">
<telerik:RadStepProgressBarItem Content="Step 1" />
<telerik:RadStepProgressBarItem Content="Step 2" />
<telerik:RadStepProgressBarItem Content="Step 3" />
</telerik:RadStepProgressBar>