System.Windows.Forms.ColorDepth Enumeration

Specifies the number of colors used to display an image in an System.Windows.Forms.ImageList control.

Syntax

public enum ColorDepth

Remarks

This enumeration is used by the ImageList.ColorDepth property of the System.Windows.Forms.ImageList class.

Members

Member NameDescription
Depth16Bit

A 16-bit image.

Depth24Bit

A 24-bit image.

Depth32Bit

A 32-bit image.

Depth4Bit

A 4-bit image.

Depth8Bit

An 8-bit image.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0