Back to Devexpress

ITabbedViewController.CreateNewDocumentGroup(Document, Orientation) 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-system-dot-windows-dot-forms-dot-orientation-x29.md

latest3.2 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
bool CreateNewDocumentGroup(
    Document document,
    Orientation orientation
)
vb
Function CreateNewDocumentGroup(
    document As Document,
    orientation As Orientation
) As Boolean

Parameters

NameTypeDescription
documentDocument

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

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

Dock

MoveToDocumentGroup(Document, Boolean)

ITabbedViewController Interface

ITabbedViewController Members

DevExpress.XtraBars.Docking2010.Views.Tabbed Namespace