ControlPaint::Dark Method (Color)
.NET Framework (current version)
Creates a new dark color object for the control from the specified color.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- baseColor
-
Type:
System.Drawing::Color
The Color to be darkened.
If the specified Color is one of the SystemColors, the color is converted to a SystemColors::ControlDark color; otherwise, the color's luminosity value is decreased.
.NET Framework
Available since 1.1
Available since 1.1
Show: