Skip to main content

DXCollectionBase<T>.Capacity Property

Gets or sets the number of elements that the DXCollectionBase<T> can contain.

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

[ComVisible(false)]
public int Capacity { get; set; }

Property Value

Type Description
Int32

An integer value representing the number of elements that the collection can contain.

Remarks

Capacity is the number of elements that the DXCollectionBase<T> can store. DXCollectionBase<T>.Count is the number of elements that are actually in the DXCollectionBase<T>.

See Also