Skip to main content

DockControllerBase.AddDocumentGroup(DockType) Method

Creates a DocumentGroup, and docks it to the DockLayoutManager container (root group).

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v22.1.dll

NuGet Package: DevExpress.Wpf.Docking


public DocumentGroup AddDocumentGroup(
    DockType type


Name Type Description
type DockType

A DockType value that specifies the side of the DockLayoutManager container where the DocumentGroup is docked.


Type Description

The created DocumentGroup object.


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.

See Also