Freigeben über


ControlPaint.ContrastControlDark-Eigenschaft

Ruft die als ControlDark-Farbe zu verwendende Farbe ab.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

Syntax

'Declaration
Public Shared ReadOnly Property ContrastControlDark As Color
'Usage
Dim value As Color

value = ControlPaint.ContrastControlDark
public static Color ContrastControlDark { get; }
public:
static property Color ContrastControlDark {
    Color get ();
}
/** @property */
public static Color get_ContrastControlDark ()
public static function get ContrastControlDark () : Color

Eigenschaftenwert

Die als ControlDark-Farbe zu verwendende Color.

Hinweise

Wenn der Benutzer den HighContrast-Modus aktiviert hat, wird diese Eigenschaft auf SystemColors.WindowFrame festgelegt, andernfalls wird sie auf SystemColors.ControlDark festgelegt.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

ControlPaint-Klasse
ControlPaint-Member
System.Windows.Forms-Namespace
SystemInformation
SystemColors