DockControllerBase.CreateNewDocumentGroup(LayoutPanel, Orientation) Method

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

Namespace: DevExpress.Xpf.Docking

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

Declaration

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

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.

Implements

DevExpress.Xpf.Docking.IDockController.CreateNewDocumentGroup(LayoutPanel, Orientation)
See Also