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

IStackGroupDefaultProperties.Capacity Property

Gets or sets the maximum number of Documents that the current StackGroup can contain.

Namespace: DevExpress.XtraBars.Docking2010.Views.Widget

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

int? Capacity { get; set; }

#Property Value

Type Description
Nullable<Int32>

An Int32 value that is the maximum number of Documents that the current StackGroup can contain.

#Remarks

If the Capacity property equals null, the StackGroup can contain an unlimited number of Documents.

The Capacity property overrides the global capacity setting common to all Stack Groups within the View. To set this global value, use the IStackGroupProperties.Capacity property instead.

See Also