Skip to main content
A newer version of this page is available. .

TabbedView.DocumentGroups Property

Provides access to a collection of document groups.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

public DocumentGroupCollection DocumentGroups { get; }

Property Value

Type Description
DevExpress.XtraBars.Docking2010.Views.Tabbed.DocumentGroupCollection

A DocumentGroupCollection object.

Remarks

Documents in a TabbedView are displayed as tabs. The TabbedView‘s area can be split vertically or horizontally into document groups. In code, you can create a new group via the ITabbedViewController.CreateNewDocumentGroup method accessible via the View’s Controller object. An end-user can split the area via a document’s context menu or drag-and-drop.

When you do not create extra groups, there is one default group that displays all documents. When document groups are created, they are added to the TabbedView.DocumentGroups collection.

The number of documents simultaneously displayed in a group can be limited via the IDocumentGroupProperties.MaxDocuments and IDocumentGroupDefaultProperties.MaxDocuments properties.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DocumentGroups property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also