SystemParameters.HighContrast Egenskap
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Hämtar information om hjälpmedelsfunktionen Högkontrast.
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
Egenskapsvärde
trueom alternativet HIGHCONTRASTON är valt; annars . false
- Attribut
Kommentarer
Mappar till SPI_GETHIGHCONTRAST, som refererar till HCF_HIGHCONTRASTON. Se SystemParametersInfo och HighContrast.
XAML-attributanvändning
<
object property="{ SystemParameters.HighContrast}"/>