Skip to main content

IMDIController.TileHorizontal(BaseLayoutItem) Method

Arranges the item horizontally within the group.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v24.2.dll

NuGet Package: DevExpress.Wpf.Docking

Declaration

bool TileHorizontal(
    BaseLayoutItem item
)

Parameters

Name Type Description
item BaseLayoutItem

The BaseLayoutItem object that should be arranged horizontally.

Returns

Type Description
Boolean

true, if the item is arranged horizontally; otherwise, false.

Remarks

The following code sample arranges the DocumentGroup’s child items horizontally:

<dx:ThemedWindow
  ...
  xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
  xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking">
  <Grid>
    <dxdo:DockLayoutManager x:Name="DockLayoutManager1">
      <dxdo:LayoutGroup Caption="LayoutRoot">
        <dxdo:DocumentGroup x:Name="Group1" MDIStyle="MDI">
          <dxdo:DocumentPanel Caption="Error List" x:Name="Panel1" 
          MDISize="300,150" MDILocation="0,10" CaptionImage="{dx:DXImage 'GrayScaleImages/Actions/Cancel_16x16.png'}">
            <RichTextBox/>
          </dxdo:DocumentPanel>
            <dxdo:DocumentPanel Caption="Output" 
            MDISize="320,150" MDILocation="50,100" CaptionImage="{dx:DXImage 'GrayScaleImages/Export/ExportFile_16x16.png'}">
              <RichTextBox/>
            </dxdo:DocumentPanel>
            <dxdo:DocumentPanel Caption="Find Results"
            MDISize="300,150" MDILocation="100,150" CaptionImage="{dx:DXImage 'GrayScaleImages/Find/Find_16x16.png'}">
              <RichTextBox/>
            </dxdo:DocumentPanel>
          </dxdo:DocumentGroup>
        </dxdo:LayoutGroup>
    </dxdo:DockLayoutManager>
  </Grid>
</dx:ThemedWindow>
DockLayoutManager1.MDIController.TileHorizontal(Group1);

See Also