Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

StackPanel.LayoutDirection Property

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

Namespace: DevExpress.Utils.Layout

Assembly: DevExpress.Utils.v24.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#Declaration

[DefaultValue(StackPanelLayoutDirection.LeftToRight)]
[DXCategory("Layout")]
public StackPanelLayoutDirection LayoutDirection { get; set; }

#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

See Also