Skip to main content

LayoutGroup.Orientation Property

Gets or sets the child item’s orientation within the group (horizontal or vertical). This is a dependency property.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v22.1.dll

NuGet Package: DevExpress.Wpf.Docking


public Orientation Orientation { get; set; }

Property Value

Type Description

The child item’s orientation within the group.


The following code sample creates LayoutRoot and TopGroup LayoutGroups and sets their Orientation property to Vertical and Horizontal:

<Window ...
      <dxdo:LayoutGroup x:Name="LayoutRoot" Orientation="Vertical">
        <dxdo:LayoutGroup x:Name="TopGroup" Orientation="Horizontal">
          <dxdo:LayoutPanel Caption="Toolbox"/>

          <dxdo:LayoutPanel Caption="Solution Explorer"/>
          <dxdo:LayoutPanel Caption="Properties"/>

DockLayoutManager - Orientation

See Also