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.v20.1.dll

Declaration

bool MoveToDocumentGroup(
    Document document,
    bool next
)
Function MoveToDocumentGroup(
    document As Document,
    next As Boolean
) As Boolean

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