SystemParameters.HighContrast Property


Gets information about the High Contrast accessibility feature.

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

public static bool HighContrast {

Property Value

Type: System.Boolean

true if the HIGHCONTRASTON option is selected; otherwise, false.

Maps to SPI_GETHIGHCONTRAST, which references HCF_HIGHCONTRASTON. See SystemParametersInfo and HighContrast.

<object property="{ SystemParameters.HighContrast}"/>

.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top