ControlPaint.ContrastControlDark Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.