ControlPaint.DarkDark(Color) Method
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.
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
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.