ArrangedElementCollection.Count Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the number of elements in the collection.

Namespace:   System.Windows.Forms.Layout
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public virtual int Count { get; }

Property Value

Type: System.Int32

The number of elements currently contained in the collection.

When required, the capacity of the collection will dynamically increase to accept more elements.

.NET Framework
Available since 2.0
Return to top