WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class StepViewItem - WPF API Reference | Syncfusion SfStepProgressBar. ">

    Show / Hide Table of Contents

    Class StepViewItem

    Represents each step view item in SfStepProgressBar.

    Inheritance
    System.Object
    StepViewItem
    Namespace: Syncfusion.UI.Xaml.ProgressBar
    Assembly: Syncfusion.SfProgressBar.WPF.dll
    Syntax
    public class StepViewItem : ContentControl

    Constructors

    StepViewItem()

    Initializes a new instance of the StepViewItem class.

    Declaration
    public StepViewItem()

    Fields

    ActiveConnectorColorProperty

    Identifies the ActiveConnectorColor dependency property.

    Declaration
    public static DependencyProperty ActiveConnectorColorProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ConnectorColorProperty

    Identifies the ConnectorColor dependency property.

    Declaration
    public static DependencyProperty ConnectorColorProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ConnectorThicknessProperty

    Identifies the ConnectorThickness dependency property.

    Declaration
    public static DependencyProperty ConnectorThicknessProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ItemSpacingProperty

    Identifies the ItemSpacing dependency property.

    Declaration
    public static DependencyProperty ItemSpacingProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    MarkerHeightProperty

    Identifies the MarkerHeight dependency property.

    Declaration
    public static DependencyProperty MarkerHeightProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    MarkerTemplateProperty

    Identifies the MarkerTemplate dependency property.

    Declaration
    public static DependencyProperty MarkerTemplateProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    MarkerWidthProperty

    Identifies the MarkerWidth dependency property.

    Declaration
    public static DependencyProperty MarkerWidthProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    OrientationProperty

    Identifies the Orientation dependency property.

    Declaration
    public static DependencyProperty OrientationProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ProgressValueProperty

    Identifies the ProgressValue dependency property.

    Declaration
    public static DependencyProperty ProgressValueProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    SecondaryContentTemplateProperty

    Identifies the SecondaryContentTemplate dependency property.

    Declaration
    public static DependencyProperty SecondaryContentTemplateProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    StateProperty

    Identifies the dependency property.

    Declaration
    public static DependencyProperty StateProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    TextSpacingProperty

    Identifies the TextSpacing dependency property.

    Declaration
    public static DependencyProperty TextSpacingProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    ActiveConnectorColor

    Gets or sets the progressbar fill color for StepViewItem.

    Declaration
    public Brush ActiveConnectorColor { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    ConnectorColor

    Gets or sets the progressbar track color for StepViewItem.

    Declaration
    public Brush ConnectorColor { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    ConnectorThickness

    Gets or sets the progressbar height for StepViewItem.

    Declaration
    public double ConnectorThickness { get; set; }
    Property Value
    Type Description
    System.Double

    ItemSpacing

    Gets or sets the distance between the steps of ItemSpacing.

    Declaration
    public double ItemSpacing { get; set; }
    Property Value
    Type Description
    System.Double

    MarkerHeight

    Declaration
    public double MarkerHeight { get; set; }
    Property Value
    Type Description
    System.Double

    MarkerTemplate

    Gets or sets the System.Windows.DataTemplate for .

    Declaration
    public DataTemplate MarkerTemplate { get; set; }
    Property Value
    Type Description
    System.Windows.DataTemplate

    MarkerWidth

    Declaration
    public double MarkerWidth { get; set; }
    Property Value
    Type Description
    System.Double

    Orientation

    Gets the Orientation of the StepViewItem.

    Declaration
    public Orientation Orientation { get; }
    Property Value
    Type Description
    System.Windows.Controls.Orientation

    ProgressValue

    Gets or sets the progressvalue.

    Declaration
    public double ProgressValue { get; set; }
    Property Value
    Type Description
    System.Double

    SecondaryContentTemplate

    Gets or sets the data template used to display the secondary content of the StepViewItem.

    Declaration
    public DataTemplate SecondaryContentTemplate { get; set; }
    Property Value
    Type Description
    System.Windows.DataTemplate

    The default value is null.

    See Also
    System.Windows.Controls.ContentControl.ContentTemplate

    Status

    Gets the current status of StepViewItem.

    Declaration
    public StepStatus Status { get; }
    Property Value
    Type Description
    StepStatus

    The default value of Status is Inactive.

    Remarks

    The Status is a readonly property.

    See Also
    SelectedIndex
    SelectedItemStatus
    StepStatus

    TextSpacing

    Gets or sets the value that indicates the space between marker and text in StepViewItem.

    Declaration
    public double TextSpacing { get; set; }
    Property Value
    Type Description
    System.Double

    The default value of TextSpacing is 8.

    Examples

    Below example shows how the TextSpacing for step view item using ItemContainerStyle.

    <syncfusion:SfStepProgressBar.ItemContainerStyle>
            <Style TargetType = "syncfusion:StepViewItem" >
                < Setter Property="TextSpacing"  Value="20"></Setter>
            </Style>
        </syncfusion:SfStepProgressBar.ItemContainerStyle>
    </syncfusion:SfStepProgressBar>

    Methods

    OnApplyTemplate()

    When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.

    Declaration
    public override void OnApplyTemplate()
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved