Back to Devexpress

DocumentGroup Class

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-9fc18b2e.md

latest3.7 KB
Original Source

DocumentGroup Class

A group of Documents within a TabbedView.

Namespace : DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public class DocumentGroup :
    BaseComponent,
    IFreeLayoutElement,
    IBaseObject,
    IDisposable,
    IDXAccessibleOwner,
    IAccessiblePropertiesProvider
vb
Public Class DocumentGroup
    Inherits BaseComponent
    Implements IFreeLayoutElement,
               IBaseObject,
               IDisposable,
               IDXAccessibleOwner,
               IAccessiblePropertiesProvider

The following members return DocumentGroup objects:

Remarks

A TabbedView always contains a single group to which documents are added by default. It is also possible to add more groups, splitting the available space horizontally or vertically. The TabbedView.Orientation property allows you to specify how groups are arranged - vertically or horizontally. In addition, the group orientation can be changed by using the ITabbedViewController.CreateNewDocumentGroup method that takes an orientation parameter.

To access all groups, use the TabbedView.DocumentGroups collection. To access documents within a group, use the DocumentGroup.Items property. The ITabbedViewController.Dock method allows you to move a group to a specific document group.

You can customize properties for all document groups via the TabbedView.DocumentGroupProperties object, and then override these settings for individual document groups via the DocumentGroup.Properties object.

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

Inheritance

Object MarshalByRefObject Component BaseComponent DocumentGroup

See Also

DocumentGroup Members

DevExpress.XtraBars.Docking2010.Views.Tabbed Namespace