ImageList.ImageCollection.Empty Property

Definition

Gets a value indicating whether the ImageList has any images.

public:
 property bool Empty { bool get(); };
public bool Empty { get; }
member this.Empty : bool
Public ReadOnly Property Empty As Boolean

Property Value

true if there are no images in the list; otherwise, false. The default is false.

Remarks

You can check this property without forcing the creation of a Handle.

Applies to