This documentation is archived and is not being maintained.

ControlPaint.ContrastControlDark Property

Gets the color to use as the ControlDark color.

[Visual Basic]
Public Shared ReadOnly Property ContrastControlDark As Color
public static Color ContrastControlDark {get;}
public: __property static Color get_ContrastControlDark();
public static function get ContrastControlDark() : Color;

Property Value

The Color to use as the ControlDark color.


If the user has enabled the HighContrast mode, this property is set to SystemColors.WindowFrame; otherwise, it is set to SystemColors.ControlDark.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ControlPaint Class | ControlPaint Members | System.Windows.Forms Namespace | SystemInformation | SystemColors