Class StepViewItem
Represents each step view item in SfStepProgressBar.
Inheritance
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 |
---|
System.Windows.DependencyProperty |
ConnectorColorProperty
Identifies the ConnectorColor dependency property.
Declaration
public static DependencyProperty ConnectorColorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ConnectorThicknessProperty
Identifies the ConnectorThickness dependency property.
Declaration
public static DependencyProperty ConnectorThicknessProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ItemSpacingProperty
Identifies the ItemSpacing dependency property.
Declaration
public static DependencyProperty ItemSpacingProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MarkerHeightProperty
Identifies the MarkerHeight dependency property.
Declaration
public static DependencyProperty MarkerHeightProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MarkerTemplateProperty
Identifies the MarkerTemplate dependency property.
Declaration
public static DependencyProperty MarkerTemplateProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MarkerWidthProperty
Identifies the MarkerWidth dependency property.
Declaration
public static DependencyProperty MarkerWidthProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
OrientationProperty
Identifies the Orientation dependency property.
Declaration
public static DependencyProperty OrientationProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ProgressValueProperty
Identifies the ProgressValue dependency property.
Declaration
public static DependencyProperty ProgressValueProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SecondaryContentTemplateProperty
Identifies the SecondaryContentTemplate dependency property.
Declaration
public static DependencyProperty SecondaryContentTemplateProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
StateProperty
Identifies the
Declaration
public static DependencyProperty StateProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
TextSpacingProperty
Identifies the TextSpacing dependency property.
Declaration
public static DependencyProperty TextSpacingProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
ActiveConnectorColor
Gets or sets the progressbar fill color for StepViewItem.
Declaration
public Brush ActiveConnectorColor { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
ConnectorColor
Gets or sets the progressbar track color for StepViewItem.
Declaration
public Brush ConnectorColor { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
ConnectorThickness
Gets or sets the progressbar height for StepViewItem.
Declaration
public double ConnectorThickness { get; set; }
Property Value
Type |
---|
System.Double |
ItemSpacing
Gets or sets the distance between the steps of ItemSpacing.
Declaration
public double ItemSpacing { get; set; }
Property Value
Type |
---|
System.Double |
MarkerHeight
Declaration
public double MarkerHeight { get; set; }
Property Value
Type |
---|
System.Double |
MarkerTemplate
Gets or sets the System.Windows.DataTemplate for
Declaration
public DataTemplate MarkerTemplate { get; set; }
Property Value
Type |
---|
System.Windows.DataTemplate |
MarkerWidth
Declaration
public double MarkerWidth { get; set; }
Property Value
Type |
---|
System.Double |
Orientation
Gets the Orientation of the StepViewItem.
Declaration
public Orientation Orientation { get; }
Property Value
Type |
---|
System.Windows.Controls.Orientation |
ProgressValue
Gets or sets the progressvalue.
Declaration
public double ProgressValue { get; set; }
Property Value
Type |
---|
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
Status
Gets the current status of StepViewItem.
Declaration
public StepStatus Status { get; }
Property Value
Type | Description |
---|---|
StepStatus |
Remarks
The Status is a readonly property.
See Also
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()