次の方法で共有


ControlPaint.ContrastControlDark プロパティ

ControlDark 色として使用する色を取得します。

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;

プロパティ値

ControlDark 色として使用する Color

解説

ユーザーが HighContrast モードを有効にした場合、このプロパティは SystemColors.WindowFrame に設定されます。それ以外の場合は、 SystemColors.ControlDark に設定されます。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

ControlPaint クラス | ControlPaint メンバ | System.Windows.Forms 名前空間 | SystemInformation | SystemColors