Skip to main content

IDocumentGroupDefaultProperties.MaxDocuments Property

Gets or sets the maximum number of documents in the current document group.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

int? MaxDocuments { get; set; }

Property Value

Type Description
Nullable<Int32>

The nullable value that is the maximum number of documents in the current document group.

Remarks

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

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

See Also