Skip to main content

IMDIController.TileVertical(BaseLayoutItem) Method

Arranges the item vertically within the group.

Namespace: DevExpress.Xpf.Docking

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

Declaration

bool TileVertical(
    BaseLayoutItem item
)

Parameters

Name Type Description
item BaseLayoutItem

The BaseLayoutItem object that should be arranged vertically.

Returns

Type Description
Boolean

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

Remarks

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

<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.TileVertical(Group1);

See Also