Redigera

Dela via


ControlPaint.ContrastControlDark Property

Definition

Gets the color to use as the ControlDark color.

public:
 static property System::Drawing::Color ContrastControlDark { System::Drawing::Color get(); };
public static System.Drawing.Color ContrastControlDark { get; }
static member ContrastControlDark : System.Drawing.Color
Public Shared ReadOnly Property ContrastControlDark As 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.

Applies to

See also