ControlPaint.DarkDark(Color) Method

Definition

Creates a new dark color object for the control from the specified color.

public:
 static System::Drawing::Color DarkDark(System::Drawing::Color baseColor);
public static System.Drawing.Color DarkDark (System.Drawing.Color baseColor);
static member DarkDark : System.Drawing.Color -> System.Drawing.Color
Public Shared Function DarkDark (baseColor As Color) As Color

Parameters

baseColor
Color

The Color to be darkened.

Returns

A Color that represents the dark color on the control.

Remarks

If the specified Color is one of the SystemColors, the color is converted to the SystemColors.ControlDarkDark color; otherwise, the color's luminosity value is increased.

Applies to