ApplicationHighContrastAdjustment Enum

Definition

Defines constants that specify whether the framework automatically adjusts visual properties for the app when high contrast themes are enabled.

This enumeration supports a bitwise combination of its member values.

C#
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum ApplicationHighContrastAdjustment
Inheritance
ApplicationHighContrastAdjustment
Attributes

Fields

Name Value Description
None 0

No automatic adjustments are made to visuals.

Auto 4294967295

Visuals are automatically adjusted when high contrast is enabled.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6