Back to Devexpress

ITabbedViewController.CreateNewDocumentGroup(Document) Method

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-itabbedviewcontroller-dot-createnewdocumentgroup-x28-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-document-x29.md

latest2.5 KB
Original Source

ITabbedViewController.CreateNewDocumentGroup(Document) Method

Appends a new group to the View and displays the specified document in this group.

Namespace : DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
bool CreateNewDocumentGroup(
    Document document
)
vb
Function CreateNewDocumentGroup(
    document As Document
) As Boolean

Parameters

NameTypeDescription
documentDocument

A Document to be displayed in the newly created group.

|

Returns

TypeDescription
Boolean

true if the operation was successful; otherwise, false.

|

Remarks

This method creates a new group and displays the specified document in this group. A group is added to the TabbedView.DocumentGroups collection.

To add more documents to a group, use the ITabbedViewController.Dock method.

See Also

Dock

MoveToDocumentGroup(Document, Boolean)

ITabbedViewController Interface

ITabbedViewController Members

DevExpress.XtraBars.Docking2010.Views.Tabbed Namespace