Back to Devexpress

DockLayoutManager.MDIController Property

wpf-devexpress-dot-xpf-dot-docking-dot-docklayoutmanager-2f52a347.md

latest2.2 KB
Original Source

DockLayoutManager.MDIController Property

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

Namespace : DevExpress.Xpf.Docking

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

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public IMDIController MDIController { get; }
vb
Public ReadOnly Property MDIController As IMDIController

Property Value

TypeDescription
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:

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

See Also

MDIStyle

DockLayoutManager Class

DockLayoutManager Members

DevExpress.Xpf.Docking Namespace