Skip to main content
All docs
V25.1
  • IDockController.CreateNewDocumentGroup(DocumentPanel, Orientation) Method

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

    Namespace: DevExpress.Xpf.Docking

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

    NuGet Package: DevExpress.Wpf.Docking

    Declaration

    [Browsable(false)]
    bool CreateNewDocumentGroup(
        DocumentPanel item,
        Orientation orientation
    )

    Parameters

    Name Type Description
    item DocumentPanel

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