Export (0) Print
Expand All
Expand Minimize

SystemParameters.HighContrast Property

Gets information about the High Contrast accessibility feature.

Namespace:  System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

public static bool HighContrast { get; }
<object property="{x:Static SystemParameters.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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft