SystemParameters.HighContrast Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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 à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour