DocumentGroup.MDIStyle Property
Gets or sets how the DocumentGroup displays its child panels, as floating windows or as tabs. This is a dependency property.
Namespace: DevExpress.Xpf.Docking
Assembly: DevExpress.Xpf.Docking.v24.2.dll
NuGet Package: DevExpress.Wpf.Docking
#Declaration
#Property Value
Type | Description |
---|---|
MDIStyle | An MDIStyle value that specifies how the Document |
Available values:
Name | Description |
---|---|
Default | The same option as MDIStyle. |
Tabbed | A Document |
MDI | A Document |
#Remarks
When the MDIStyle property is set to MDIStyle.MDI, the DocumentGroup displays its child DocumentPanel objects as floating windows. You can use the DockLayoutManager.MDIController object’s methods to control child panels in this mode.
Use the DocumentPanel.MDIState property to specify the state of each DocumentPanel.
Tip
In MDI Mode, you can move Document
#Example
The following code sample displays the documentGroup1 DocumentGroup in MDI mode (MDIStyle is MDIStyle.MDI):
<dxdo:DocumentGroup x:Name="documentGroup1" MDIStyle="MDI">
<dxdo:DocumentPanel x:Name="document1" Caption="Document 1" MDISize="300,100">
<RichTextBox/>
</dxdo:DocumentPanel>
<dxdo:DocumentPanel x:Name="document2" Caption="Document 2" MDISize="250,100" MDILocation="50,120" >
<RichTextBox/>
</dxdo:DocumentPanel>
</dxdo:DocumentGroup>
#Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the MDIStyle property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.