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.CreateNewDocumentGroup(LayoutPanel, Orientation) Method

Creates a new DocumentGroup and moves the specified LayoutPanel to it.

Namespace: DevExpress.Xpf.Docking

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

NuGet Package: DevExpress.Wpf.Docking

#Declaration

public bool CreateNewDocumentGroup(
    LayoutPanel document,
    Orientation orientation
)

#Parameters

Name Type Description
document LayoutPanel

A LayoutPanel to be added to the created group.

orientation Orientation

A Orientation value that specifies whether the created DocumentGroup is positioned on the right or bottom of the DocumentPanel’s previous group.

#Returns

Type Description
Boolean

true, if a DocumentGroup has been created; otherwise, false.

See Also