Skip to main content

Document Groups and Panels

#Overview

Document Groups (DocumentGroup objects) represent child Document Panels (DocumentPanel objects) using either a tabbed or MDI UI.

DocumentGroup_CD

Use the DocumentGroup.MDIStyle property to switch between UIs. To specify a child MDI panel's size and location within its parent DocumentGroup, use the DocumentPanel.MDISize and DocumentPanel.MDILocation properties respectively.

#Child Items

Document Groups accept only Document Panel objects as children. In XAML, you can define a group's child items directly between the start and end DocumentGroup tags. In code, you can add, delete, and modify child items via the group's Items collection.

#Dock Operations

To add Document Panels to a Document Group in code, use methods provided by the DocumentGroup object (for instance, the Add method).

Various operations on panels in MDI mode are supported by the DockLayoutManager.MDIController object.

#Example