Name

ImageList.ImageCollection

Synopsis

This collection class represents the set of images in an ImageList control.


public sealed class ImageList.ImageCollection : IList, ICollection, IEnumerable {

// Public Instance Properties

   public int Count{get; }

// implements ICollection

   public bool Empty{get; }

   public bool IsReadOnly{get; }

// implements IList

   public Image this{set; get; }

// Public Instance Methods

   public int Add(System.Drawing.Image value, System.Drawing.Color transparentColor);

   public void Add(System.Drawing.Icon value);

   public void Add(System.Drawing.Image value);

   public int AddStrip(System.Drawing.Image value);

   public void Clear();  // implements IList

   public bool Contains(System.Drawing.Image image);

   public IEnumerator GetEnumerator();  // implements IEnumerable

   public int IndexOf(System.Drawing.Image image);

   public void Remove(System.Drawing.Image image);

   public void RemoveAt(int index);  // implements IList

}

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.