VisualStyleInformation.MinimumColorDepth Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.