ColorDepth 枚举
指定用于显示 ImageList 控件中的图像的颜色数。
**命名空间:**System.Windows.Forms
**程序集:**System.Windows.Forms(在 system.windows.forms.dll 中)
语法
声明
Public Enumeration ColorDepth
用法
Dim instance As ColorDepth
public enum ColorDepth
public enum class ColorDepth
public enum ColorDepth
public enum ColorDepth
成员
成员名称 | 说明 | |
---|---|---|
Depth16Bit | 16 位图像。 | |
Depth24Bit | 24 位图像。 | |
Depth32Bit | 32 位图像。 | |
Depth4Bit | 4 位图像。 | |
Depth8Bit | 8 位图像。 |
备注
ImageList 类的 ColorDepth 属性使用此枚举。
平台
Windows 98、Windows 2000 SP4、Windows CE、Windows Millennium Edition、Windows Mobile for Pocket PC、Windows Mobile for Smartphone、Windows Server 2003、Windows XP Media Center Edition、Windows XP Professional x64 Edition、Windows XP SP2、Windows XP Starter Edition
.NET Framework 并不是对每个平台的所有版本都提供支持。有关受支持版本的列表,请参见系统要求。
版本信息
.NET Framework
受以下版本支持:2.0、1.1、1.0