RadStepProgressBar
An ItemsControl representing a multi step process where moving to the next step increases the overall progress value. Generally steps have 3 major statuses - NotStarted, Completed and Indeterminate. Usually each step from the first to the current one is in Completed state and every other is in NotStarted state.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
[TelerikToolboxCategory("Data")]
public class RadStepProgressBar : ItemsControl
Inheritance: objectRadStepProgressBar
Constructors
Initializes a new instance of the RadStepProgressBar class.
public RadStepProgressBar()
Fields
AnimationDurationProperty
DependencyProperty
Identifies the AnimationDuration property.
public static readonly DependencyProperty AnimationDurationProperty
CanUserSelectProperty
DependencyProperty
Identifies the CanUserSelect property.
public static readonly DependencyProperty CanUserSelectProperty
CompleteAllPreviousStepsOnSelectionProperty
DependencyProperty
Identifies the CompleteAllPreviousStepsOnSelection property.
public static readonly DependencyProperty CompleteAllPreviousStepsOnSelectionProperty
ItemAdditionalContentStringFormatProperty
DependencyProperty
Identifies the ItemAdditionalContentStringFormat property.
public static readonly DependencyProperty ItemAdditionalContentStringFormatProperty
ItemAdditionalContentTemplateProperty
DependencyProperty
Identifies the ItemAdditionalContentTemplate property.
public static readonly DependencyProperty ItemAdditionalContentTemplateProperty
ItemAdditionalContentTemplateSelectorProperty
DependencyProperty
Identifies the ItemAdditionalContentTemplateSelector property.
public static readonly DependencyProperty ItemAdditionalContentTemplateSelectorProperty
OrientationProperty
DependencyProperty
Identifies the Orientation property.
public static readonly DependencyProperty OrientationProperty
OverallProgressProperty
DependencyProperty
Identifies the OverallProgress property.
public static readonly DependencyProperty OverallProgressProperty
ReverseVerticalDirectionProperty
DependencyProperty
Identifies the ReverseVerticalDirection property.
public static readonly DependencyProperty ReverseVerticalDirectionProperty
SelectedIndexProperty
DependencyProperty
Identifies the SelectedIndex property.
public static readonly DependencyProperty SelectedIndexProperty
SelectedItemProperty
DependencyProperty
Identifies the SelectedItem property.
public static readonly DependencyProperty SelectedItemProperty
SelectedItemStatusProperty
DependencyProperty
Identifies the SelectedItemStatus property.
public static readonly DependencyProperty SelectedItemStatusProperty
StepSpacingProperty
DependencyProperty
Identifies the StepSpacing property.
public static readonly DependencyProperty StepSpacingProperty
TrackFillProperty
DependencyProperty
Identifies the TrackFill property.
public static readonly DependencyProperty TrackFillProperty
TrackThicknessProperty
DependencyProperty
Identifies the TrackThickness property.
public static readonly DependencyProperty TrackThicknessProperty
Properties
Gets or sets a value indicating the selection (value changing) animation duration in seconds.
public double AnimationDuration { get; set; }
Gets or sets a value indicating whether the user can select step items with UI interactions.
public bool CanUserSelect { get; set; }
Gets or sets a value indicating whether al previous steps are set to Completed when new step is selected. If false, only the selected step is completed and also, there is no value animation.
public bool CompleteAllPreviousStepsOnSelection { get; set; }
Gets or sets the items' additional content string format.
public string ItemAdditionalContentStringFormat { get; set; }
ItemAdditionalContentTemplate
DataTemplate
Gets or sets the items' additional content template.
public DataTemplate ItemAdditionalContentTemplate { get; set; }
ItemAdditionalContentTemplateSelector
DataTemplateSelector
Gets or sets the items' additional content template selector.
public DataTemplateSelector ItemAdditionalContentTemplateSelector { get; set; }
Orientation
Orientation
Gets or sets a value indicating the orientation of the control.
public Orientation Orientation { get; set; }
Gets a value indicating the overall progress (0-100) of the RadStepProgressBar's process.
public double OverallProgress { get; }
Gets or sets a value indicating the arrangement direction of items when the Orientation is vertical.
public bool ReverseVerticalDirection { get; set; }
Gets or sets the selected index.
public int SelectedIndex { get; set; }
Gets or sets the selected item.
public object SelectedItem { get; set; }
Gets or sets a value indicating the status of the item located at the SelectedIndex.
public StepStatus SelectedItemStatus { get; set; }
Gets or sets a value indicating the desired distance between the steps. When labels (main and secondary content) are too long, the actual distance might be bigger than the property value.
public double StepSpacing { get; set; }
TrackFill
Brush
Gets or sets the foreground brush of the underlying progress bar track.
public Brush TrackFill { get; set; }
Gets or sets a value indicating the inner progress bar's height in horizontal orientation and width in vertical orientation.
public double TrackThickness { get; set; }
Methods
protected override Size ArrangeOverride(Size arrangeBounds)
Size
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
GetContainerForItemOverride()
DependencyObject
protected override DependencyObject GetContainerForItemOverride()
DependencyObject
protected override Size MeasureOverride(Size constraint)
Size
public override void OnApplyTemplate()
OnCreateAutomationPeer()
AutomationPeer
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
The type-specific AutomationPeer implementation.
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Called when selected item is changed.
protected void OnSelectionChanged(StepSelectionChangedEventArgs args)
Called when a step item is clicked.
protected virtual void OnStepItemClicked(RadStepProgressBarItem stepItem)
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Events
Occurs when SelectedItem is changed.
public event EventHandler<StepSelectionChangedEventArgs> SelectionChanged
Occurs when RadStepProgressBarItem is clicked.
public event EventHandler<StepClickedEventArgs> StepClicked