Skip to main content
All docs
V21.2

How to enable MDI mode for a DocumentGroup

In this example, the documentGroup1 DocumentGroup is in MDI mode (MDIStyle property is set to MDI ). The DocumentGroup’s panels are displayed as floating windows:

MDI-mode

View Example

<dxdo:DocumentGroup x:Name="documentGroup1" ItemWidth="2*" MDIStyle="MDI">
    <dxdo:DocumentPanel x:Name="document1" Caption="Document 1" MDISize="200,100" >
        <RichTextBox/>
    </dxdo:DocumentPanel>
    <dxdo:DocumentPanel x:Name="document2" Caption="Document 2" MDISize="200,100" MDILocation="50,120" >
        <RichTextBox/>
    </dxdo:DocumentPanel>
</dxdo:DocumentGroup>