Back to Devexpress

StackPanel.LayoutDirection Property

windowsforms-devexpress-dot-utils-dot-layout-dot-stackpanel.md

latest1.6 KB
Original Source

StackPanel.LayoutDirection Property

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

Namespace : DevExpress.Utils.Layout

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

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

Property Value

TypeDefaultDescription
DevExpress.Utils.Layout.StackPanelLayoutDirectionLeftToRight

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).

See Also

StackPanel Class

StackPanel Members

DevExpress.Utils.Layout Namespace