ITabbedViewController.CreateNewDocumentGroup(Document, Orientation) Method

Appends a new group to the View and displays the specified document in this group. The method allows you to change the orientation of document groups within a TabbedView.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v21.2.dll


bool CreateNewDocumentGroup(
    Document document,
    Orientation orientation


Name Type Description
document Document

A Document to be displayed in the newly created group.

orientation Orientation

An Orientation value that is assigned to the View’s TabbedView.Orientation property.


Type Description

true if the operation was successful; otherwise, false.


This method creates a new group and displays the specified document in this group. A group is appended to the TabbedView.DocumentGroups collection. See the TabbedView.DocumentGroups link to learn more.

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

See Also