Skip to main content

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

NuGet Package: DevExpress.Win.Navigation

Declaration

bool CreateNewDocumentGroup(
    Document document
)

Parameters

Name Type Description
document Document

A Document to be displayed in the newly created group.

Returns

Type Description
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