ImageList.ImageCollection.Count Property

 

Gets the number of images currently in the list.

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

[BrowsableAttribute(false)]
public int Count { get; }

Property Value

Type: System.Int32

The number of images in the list. The default is 0.

Counting the images forces the Handle to be created.

.NET Framework
Available since 1.1
Return to top
Show: