Skip to main content
A newer version of this page is available. .

DockControllerBase.MoveToDocumentGroup(LayoutPanel, Boolean) Method

Moves the specified LayoutPanel to the previous or next DocumentGroup.

Namespace: DevExpress.Xpf.Docking

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Docking, DevExpress.Wpf.Navigation

Declaration

public bool MoveToDocumentGroup(
    LayoutPanel document,
    bool next
)

Parameters

Name Type Description
document LayoutPanel

A LayoutPanel object to be moved to another DocumentGroup.

next Boolean

true to move the panel to the next DocumentGroup; false to move the panel to the previous DocumentGroup.

Returns

Type Description
Boolean

true, if the LayoutPanel has been moved to another DocumentGroup; otherwise, false.

See Also