Back to Devexpress

ITabbedViewController.MoveToDocumentGroup(Document, Boolean) Method

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-itabbedviewcontroller-dot-movetodocumentgroup-x28-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-document-system-dot-boolean-x29.md

latest2.8 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Parameters

NameTypeDescription
documentDocument

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

TypeDescription
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

DocumentGroups

CreateNewDocumentGroup

ITabbedViewController Interface

ITabbedViewController Members

DevExpress.XtraBars.Docking2010.Views.Tabbed Namespace