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.v24.2.dll
Declaration
Parameters
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. |
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 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.