Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.Navigation

#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