VisualStyleInformation.MinimumColorDepth 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取当前视觉样式的最小颜色深度。
public:
static property int MinimumColorDepth { int get(); };
public static int MinimumColorDepth { get; }
static member MinimumColorDepth : int
Public Shared ReadOnly Property MinimumColorDepth As Integer
属性值
如果启用了视觉样式,则当前视觉样式的最小颜色深度;否则为 0。
注解
此属性在内部检查和IsEnabledByUser属性的值VisualStyleRenderer.IsSupported。