Skip to main content

DockLayoutManager.MDIController Property

Gets the controller that provides methods to perform operations on MDI panels.

Namespace: DevExpress.Xpf.Docking

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

NuGet Package: DevExpress.Wpf.Docking

Declaration

public IMDIController MDIController { get; }

Property Value

Type Description
IMDIController

A DevExpress.Xpf.Docking.MDIController object that provides methods to perform operations on MDI panels.

Remarks

A DocumentGroup supports MDI mode for its child panels. Use the DocumentGroup.MDIStyle property to enable MDI mode.

The MDIController object contains methods to work with MDI panels.

The following code sample aligns the DocumentGroup‘s child items vertically:

<dxdo:DockLayoutManager x:Name="DockLayoutManager1" >
  <dxdo:LayoutGroup>
    <dxdo:DocumentGroup MDIStyle="MDI" x:Name="DocumentGroup1">
      <dxdo:DocumentPanel/>
      <dxdo:DocumentPanel/>
    </dxdo:DocumentGroup>
  </dxdo:LayoutGroup>
</dxdo:DockLayoutManager>
DockLayoutManager1.MDIController.TileVertical(DocumentGroup1);

DockLayoutManager - DocumentGroup Alignment

See Also