How to enable MDI mode for a DocumentGroup
In this example, MDI mode is enabled for a DocumentGroup via the MDIStyle property. In this mode, the DocumentGroup’s panels are represented as floating windows.
The following image shows the result:
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-enable-mdi-mode-for-a-documentgroup-e2190.
<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>