ColorDepth Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public enum ColorDepth

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.

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

.NET Framework
Available since 1.1
Return to top
Show: