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.v21.2.dll


bool MoveToDocumentGroup(
    Document document,
    bool next


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.


Type Description

true if the operation was successful; otherwise, false.


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