Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DockControllerBase.AddDocumentGroup(DockType) Method

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 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 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