StackPanel.LayoutDirection Property

Gets or sets the direction along which this stack panel arranges its child controls.

Namespace: DevExpress.Utils.Layout

Assembly: DevExpress.Utils.v20.1.dll

Declaration

[DXCategory("Layout")]
[DefaultValue(StackPanelLayoutDirection.LeftToRight)]
public StackPanelLayoutDirection LayoutDirection { get; set; }
<DXCategory("Layout")>
<DefaultValue(StackPanelLayoutDirection.LeftToRight)>
Public Property LayoutDirection As StackPanelLayoutDirection

Property Value

Type Default Description
DevExpress.Utils.Layout.StackPanelLayoutDirection

LeftToRight

Specifies the layout direction for child stack panel items.

Remarks

Use the LayoutDirection to choose one of four available directions:

  • from left to right (default value);
  • from right to left;
  • bottom-up;
  • top-down (image below).

stack-panel

Implements

DevExpress.Utils.Layout.IStackPanel.LayoutDirection
See Also