StepProgressItem
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class StepProgressItem : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementStepProgressItem...
Implements:
Inherited Members
Constructors
public StepProgressItem()
Fields
public static RadProperty CompletedProperty
public static RadProperty ConnectionLengthProperty
public static RadProperty ConnectionThicknessProperty
public static RadProperty IndicatorSizeProperty
public static RadProperty InProgressProperty
public static RadProperty IsActiveProperty
public static RadProperty IsErrorProperty
public static RadProperty OrientationProperty
Properties
Gets or sets whether the step is completed. Setting this property also changes the step's Progress. If the property is set to false, the step's progress will change to 0.
public bool Completed { get; set; }
Gets the connection element.
public StepConnectionElement Connection { get; }
Gets or sets the length of the connection. If you use this property to set the step spacing, the property will unbind from the StepSpacing property. In order to bind it again, you need to reset the property, using ResetConnectionLength() method.
public int ConnectionLength { get; set; }
Gets or sets the thickness of the connection. If you use this property to set the step spacing, the property will unbind from the ConnectionThickness property. In order to bind it again, you need to reset the property, using ResetConnectionThickness() method.
public int ConnectionThickness { get; set; }
Determines whether there is a separate visual state of the step when its progress is between 0 and 100.
public bool EnableItemInProgressVisualState { get; set; }
Gets the first content element.
public StepContentElement FirstContentElement { get; }
Gets or sets the description of the first content element.
public string FirstDescription { get; set; }
Gets or sets the header of the first content element.
public string FirstHeader { get; set; }
Gets or sets the step size. If you use this property to set the step size, the property will unbind from the IndicatorSize property. In order to bind it again, you need to reset the property, using ResetIndicatorSize() method.
public Size IndicatorSize { get; set; }
Gets or sets whether the item is in error state. If yes, the progress will change to 0.
public bool IsError { get; set; }
Gets the next step.
[Browsable(false)]
public StepProgressItem Next { get; }
Gets or sets the orientation of the step item. If you use this property to set the step spacing, the property will unbind from the Orientation property. In order to bind it again, you need to reset the property, using ResetOrientation() method.
public Orientation Orientation { get; set; }
Gets the previous step.
[Browsable(false)]
public StepProgressItem Previous { get; }
Gets or sets the progress of the step. Setting the progress of an item may affect the progress of the other items. This behavior is controlled by the StepProgressMode enum set on the element's ProgressMode property.
public int Progress { get; set; }
Gets the prgress status.
[Browsable(false)]
public StepProgressStatus ProgressStatus { get; }
Gets the second content element.
public StepContentElement SecondContentElement { get; }
Gets or sets the description of the second content element.
public string SecondDescription { get; set; }
Gets or sets the header of the second content element.
public string SecondHeader { get; set; }
Gets this indicator element.
public StepItemIndicatorElement StepIndicator { get; }
Methods
Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
protected virtual StepItemIndicatorElement CreateIndicatorElement()
Releases the managed resources used by the StepProgressItem.
protected override void DisposeManagedResources()
Overrides:
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
protected override void InitializeFields()
Overrides:
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
protected virtual void OnProgressChanged()
Resets the ConnectionLength property to the default value.
public void ResetConnectionLength()
Resets the ConnectionThickness property to the default value.
public void ResetConnectionThickness()
Resets the IndicatorSize property to the default value.
public void ResetIndicatorSize()
Resets the Orientation property to the default value.
public void ResetOrientation()
Gets a value indicating whether a child will be arranged during the ArrangeOverride(SizeF).
protected override bool ShouldArrangeChild(RadElement child)
The child element to check.
Returns:Whether the child will be arranged in ArrangeOverride.
Overrides:
Gets a value indicating, whether a child will be measured during the MeasureOverride.
protected override bool ShouldMeasureChild(RadElement child)
The child.
Returns:Whether the child will be measured in MeasureOverride.
Overrides:
protected virtual bool TryGetStepProgressItemsProvider(out IStepProgressItemsProvider provider)