Skip to main content

IDockController.AddDocumentGroup(DockType) Method

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

Namespace: DevExpress.Xpf.Docking

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

NuGet Package: DevExpress.Wpf.Docking

Declaration

DocumentGroup AddDocumentGroup(
    DockType type
)

Parameters

Name Type Description
type DockType

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

Returns

Type Description
DocumentGroup

The created DocumentGroup object.

Remarks

If the type parameter is DockType.None or DockType.Fill, the AddDocumentGroup method creates a hidden DocumentGroup object. Dock the DocumentGroup to a DockLayoutManager container to display the DocumentGroup.

See Also