SystemParameters.HighContrast Propriété

Définition

Obtient des informations sur la fonctionnalité d'accessibilité Contraste élevé.

public:
 static property bool HighContrast { bool get(); };
public static bool HighContrast { [System.Security.SecurityCritical] get; }
public static bool HighContrast { get; }
[<get: System.Security.SecurityCritical>]
static member HighContrast : bool
static member HighContrast : bool
Public Shared ReadOnly Property HighContrast As Boolean

Valeur de propriété

true si l'option HIGHCONTRASTON est sélectionnée ; sinon, false.

Attributs

Remarques

Mappe à SPI_GETHIGHCONTRAST, qui fait référence à HCF_HIGHCONTRASTON. Consultez SystemParametersInfo et HighContrast.

Utilisation des attributs XAML

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

S’applique à