Skip to main content

IDocumentGroupProperties.MaxDocuments Property

Gets or sets the maximum number of documents in document groups.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

int MaxDocuments { get; set; }

Property Value

Type Description
Int32

The integer value that is the maximum number of documents in document groups.

Remarks

Use a View’s MaxDocuments property to specify the maximum number of documents in document groups. This setting is applied to all document groups by default. The IDocumentGroupDefaultProperties.MaxDocuments property allows you to override the MaxDocuments property for an individual document group. To override the default setting, set the IDocumentGroupDefaultProperties.MaxDocuments property to any integer value (not null).

If the MaxDocuments value is set to 0, the number of documents in a document group is not limited.

See Also