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

IDocumentGroupDefaultProperties.ActualMaxDocuments Property

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

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

int ActualMaxDocuments { get; }

#Property Value

Type Description
Int32

An integer value that is the actual 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 IDocumentGroupDefaultProperties.MaxDocuments property allows you to override the IDocumentGroupProperties.MaxDocuments property for the current document group. To override the default setting, set the IDocumentGroupDefaultProperties.MaxDocuments property to any integer value (not null).

The ActualMaxDocuments property returns the actual maximum number of documents in the current document group, based on a View’s IDocumentGroupProperties.MaxDocuments and the current group’s IDocumentGroupDefaultProperties.MaxDocuments properties.

If the ActualMaxDocuments value returns 0, the number of documents in the current document group is not limited.

See Also