ControlPaint.ContrastControlDark 属性

定义

获取用作 ControlDark 颜色的颜色。

public:
 static property System::Drawing::Color ContrastControlDark { System::Drawing::Color get(); };
public static System.Drawing.Color ContrastControlDark { get; }
member this.ContrastControlDark : System.Drawing.Color
Public Shared ReadOnly Property ContrastControlDark As Color

属性值

Color

用作 Color 颜色的 ControlDark

注解

如果用户启用了 HighContrast 模式,则此属性设置为 SystemColors.WindowFrame;否则,该属性设置为 SystemColors.ControlDark

适用于

另请参阅