Skip to main content

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

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