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.v21.1.dll

Declaration

public Orientation Orientation { get; set; }

Property Value

Type Description
Orientation

The child item’s orientation within the group.

Remarks

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

<Window ...
  xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking">
  <Grid>
    <dxdo:DockLayoutManager>
      <dxdo:LayoutGroup x:Name="LayoutRoot" Orientation="Vertical">
        <dxdo:LayoutGroup x:Name="TopGroup" Orientation="Horizontal">
          <dxdo:LayoutPanel Caption="Toolbox"/>
          <dxdo:DocumentGroup>
            ...
          </dxdo:DocumentGroup>
        </dxdo:LayoutGroup>

        <dxdo:TabbedGroup>
          <dxdo:LayoutPanel Caption="Solution Explorer"/>
          <dxdo:LayoutPanel Caption="Properties"/>
        </dxdo:TabbedGroup>
      </dxdo:LayoutGroup>
    </dxdo:DockLayoutManager>
  </Grid>
</Window>

DockLayoutManager - Orientation

See Also