StepProgressBar.LayoutMode Property
Gets or sets the item arrangement strategy.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
[DefaultValue(StepProgressBarLayoutMode.Default)]
[DXCategory("Layout")]
public StepProgressBarLayoutMode LayoutMode { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DevExpress.XtraEditors.StepProgressBarLayoutMode | Default | Specifies the way the control arranges its items. |
Remarks
The LayoutMode
property specifies how the control distributes its items across the client area.
Compact (Default) Layout Mode
If the control has more space than required, the distance between items equals the IndentBetweenItems property value. Items are placed according to the StepProgressBar.ContentAlignment property.
When a control size is reduced, connectors shorten and content blocks are clipped. No scroll bar is available.
Fixed Layout Mode
In this mode the distance between items is always equal to the IndentBetweenItems property value..
When a control shrinks, items and connectors stay immobile. If there is not enough space to show all items, a scroll bar appears. Use the StepProgressBar.ScrollMode to select a scrollbar style.
FullSize Layout Mode
In “FullSize” mode the control aligns its first item to the left edge, last item to the right edge, and evenly distributes the remaining items.
The same item alignment pattern remains when a control has insufficient space to display all of its items. Connectors shorten, content blocks are clipped, no scroll bar is available.