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.v24.2.dll

NuGet Package: DevExpress.Wpf.Docking

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

The following code snippets (auto-collected from DevExpress Examples) contain references to the Orientation property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also