wpf-devexpress-dot-xpf-dot-controls.md
A control that visualizes event chains.
Namespace : DevExpress.Xpf.Controls
Assembly : DevExpress.Xpf.Controls.v25.2.dll
NuGet Package : DevExpress.Wpf.Controls
[DXLicenseWpf]
public class StepProgressBar :
Selector
<DXLicenseWpf>
Public Class StepProgressBar
Inherits Selector
The StepProgressBar consists of StepProgressBarItem objects and the progress line. Each StepProgressBarItem contains an item state indicator and two labels on opposite sides:
Add a StepProgressBar to your window in any of the following ways:
Create StepProgressBarItem objects and add them to the StepProgressBar markup. These objects are individual steps within the overall progress:
Specify each item’s labels:
Display images for completed steps:
The StepProgressBar can obtain its items from a View Model collection:
Create a collection of items that should be displayed in the StepProgressBar:
Create a View Model:
Specify the window’s DataContext and bind StepProgressBar.ItemsSource and StepProgressBar.SelectedItem to View Model properties:
Use the StepProgressBar.ItemContainerStyle property to bind generated items to data:
The following properties allow you to customize the control’s appearance. Property names are self-explanatory.
NearContent, NearContentTemplate, NearContentTemplateSelector
Content, ContentTemplate, ContentTemplateSelector
ShowProgress, ProgressSize, ProgressAnimationDuration, ProgressStyle, Offset
ShowOuterBorder, OuterBorderBrush, OuterBorderSize, OuterBorderIndent
Use the following keys or shortcuts to interact with the StepProgressBar control:
| Key | Action |
|---|---|
| Tab | Navigates between views on a page. |
| ← → ↑ ↓ | Navigates between items within the StepProgressBar control. |
| Space or Enter | Activates the focused item within the StepProgressBar control. |
Refer to the following topic for more information on the accessibility support in DevExpress WPF Controls: Accessibility Support.
Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control ItemsControl Selector StepProgressBar
See Also