DockControllerBase.AddDocumentGroup(DockType) Method
In This Article
Creates a DocumentGroup, and docks it to the DockLayoutManager container (root group).
Namespace: DevExpress.Xpf.Docking
Assembly: DevExpress.Xpf.Docking.v24.2.dll
NuGet Package: DevExpress.Wpf.Docking
#Declaration
public DocumentGroup AddDocumentGroup(
DockType type
)
#Parameters
Name | Type | Description |
---|---|---|
type | Dock |
A Dock |
#Returns
Type | Description |
---|---|
Document |
The created Document |
#Remarks
If the type parameter is set to DockType.None or DockType.Fill, the AddDocumentGroup method creates a DocumentGroup object. However, it will not be displayed anywhere. To display the DocumentGroup, you need to manually dock it to the DockLayoutManager container, for example, via the DockControllerBase.Dock method.
#Implements
See Also