Export (0) Print
Expand All

ControlPaint.ContrastControlDark Property

Gets the color to use as the ControlDark color.

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

Property Value

The Color to use as the ControlDark color.

Remarks

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

Requirements

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

Show:
© 2014 Microsoft