編輯

共用方式為


VisualStyleInformation.MinimumColorDepth Property

Definition

Gets the minimum color depth for the current visual style.

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

Property Value

The minimum color depth for the current visual style if visual styles are enabled; otherwise, 0.

Remarks

This property checks the values of the IsEnabledByUser and VisualStyleRenderer.IsSupported properties internally.

Applies to