Back to Devexpress

DockControllerBase.CreateNewDocumentGroup(LayoutPanel, Orientation) Method

wpf-devexpress-dot-xpf-dot-docking-dot-dockcontrollerbase-dot-createnewdocumentgroup-x28-devexpress-dot-xpf-dot-docking-dot-layoutpanel-system-dot-windows-dot-controls-dot-orientation-x29.md

latest2.3 KB
Original Source

DockControllerBase.CreateNewDocumentGroup(LayoutPanel, Orientation) Method

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

Namespace : DevExpress.Xpf.Docking

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

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public bool CreateNewDocumentGroup(
    LayoutPanel document,
    Orientation orientation
)
vb
Public Function CreateNewDocumentGroup(
    document As LayoutPanel,
    orientation As Orientation
) As Boolean

Parameters

NameTypeDescription
documentLayoutPanel

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

TypeDescription
Boolean

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

|

Implements

CreateNewDocumentGroup(LayoutPanel, Orientation)

See Also

DockControllerBase Class

DockControllerBase Members

DevExpress.Xpf.Docking Namespace