ControlPaint.ContrastControlDark Property

 

Gets the color to use as the ControlDark color.

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

Public Shared ReadOnly Property ContrastControlDark As Color

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
Show: