Skip to main content

ITabbedViewController.MoveToDocumentGroup(Document, Boolean) Method

Moves the current document to the previous or next document group.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

bool MoveToDocumentGroup(
    Document document,
    bool next
)

Parameters

Name Type Description
document Document

A Document object to be moved to the next/previous group.

next Boolean

true to move a document to the next group; false to move a document to the previous group.

Returns

Type Description
Boolean

true if the operation was successful; otherwise, false.

Remarks

A TabbedView may contain multiple document groups (see TabbedView.DocumentGroups). The MoveToDocumentGroup method allows you to move a document to the next or previous group, according to the method’s next parameter. This method is automatically called when selecting the “Move to Previous Tab Group” or “Move to Next Tab Group” command from a document’s context menu.

See Also