System.Windows.Forms.ImageList Members

The members of System.Windows.Forms.ImageList are listed below.

See Also: Inherited members from System.ComponentModel.Component

Public Constructors

Initializes a new instance of the System.Windows.Forms.ImageList class with default values for ImageList.ColorDepth, ImageList.ImageSize, and ImageList.TransparentColor.

Initializes a new instance of the System.Windows.Forms.ImageList class, associating it with a container.

Public Properties

ColorDepthColorDepth.

Gets the color depth of the image list.

[read-only]
HandleIntPtr.

Gets the handle of the image list object.

[read-only]
HandleCreatedbool.

Gets a value indicating whether the underlying Win32 handle has been created.

[read-only]
ImagesImageList.ImageCollection.

Gets the System.Windows.Forms.ImageList.ImageCollection for this image list.

ImageSizeSystem.Drawing.Size.

Gets or sets the size of the images in the image list.

ImageStreamImageListStreamer.

Gets the System.Windows.Forms.ImageListStreamer associated with this image list.

Tagobject.

Gets or sets an object that contains additional data about the System.Windows.Forms.ImageList.

TransparentColorSystem.Drawing.Color.

Gets or sets the color to treat as transparent.

Public Methods

Draw(System.Drawing.Graphics, System.Drawing.Point, int)

Draws the image indicated by the specified index on the specified System.Drawing.Graphics at the given location.

Draw(System.Drawing.Graphics, int, int, int)

Draws the image indicated by the given index on the specified System.Drawing.Graphics at the specified location.

Draw(System.Drawing.Graphics, int, int, int, int, int)

Draws the image indicated by the given index on the specified System.Drawing.Graphics using the specified location and size.

override
ToString() : string

Returns a string that represents the current System.Windows.Forms.ImageList.

Protected Methods

override
Dispose(bool)

Releases the unmanaged resources used by the used by the System.Windows.Forms.ImageList, and optionally releases managed resources.

Public Events

RecreateHandle

Occurs when the ImageList.Handle is recreated.