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)

public:
[BrowsableAttribute(false)]
property int Count {
	virtual int get() sealed;
}

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: