ImageList.ImageCollection.Empty Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient une valeur indiquant si ImageList possède des images.
public:
property bool Empty { bool get(); };
public bool Empty { get; }
member this.Empty : bool
Public ReadOnly Property Empty As Boolean
Valeur de propriété
true si aucune image ne figure dans la liste ; sinon, false. La valeur par défaut est false.
Remarques
Vous pouvez vérifier cette propriété sans forcer la création d’un Handle.