ArrangedElementCollection.Count Property


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