HighContrast Property
TOC
Collapse the table of content
Expand the table of content

SystemParameters.HighContrast Property

 

Gets information about the High Contrast accessibility feature.

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

public static bool HighContrast {
	[SecurityCriticalAttribute]
	get;
}

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
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft