ControlPaint.ContrastControlDark Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the color to use as the ControlDark color.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

static member ContrastControlDark : Color with get

Property Value

Type: System.Drawing.Color

The Color to use as the ControlDark color.

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

.NET Framework
Available since 1.1
Return to top