VisualStyleInformation.MinimumColorDepth 屬性

定義

取得目前視覺化樣式的最小色彩深度。

public:
 static property int MinimumColorDepth { int get(); };
public static int MinimumColorDepth { get; }
member this.MinimumColorDepth : int
Public Shared ReadOnly Property MinimumColorDepth As Integer

屬性值

Int32

如果啟用視覺化樣式,則為目前視覺化樣式的最小色彩深度,否則為 0。

備註

此屬性會在內部檢查 和 VisualStyleRenderer.IsSupported 屬性的值 IsEnabledByUser

適用於