ApplicationHighContrastAdjustment Enum
Definition
Defines constants that specify whether the framework automatically adjusts visual properties for the app when high contrast themes are enabled.
Equivalent WinUI enum: Microsoft.UI.Xaml.ApplicationHighContrastAdjustment.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
public enum class ApplicationHighContrastAdjustment
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.WebHostHidden]
enum ApplicationHighContrastAdjustment
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.WebHostHidden]
public enum ApplicationHighContrastAdjustment
Public Enum ApplicationHighContrastAdjustment
- Inheritance
-
ApplicationHighContrastAdjustment
- Attributes
Windows 10 requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
Fields
Auto | 4294967295 | Visuals are automatically adjusted when high contrast is enabled. |
None | 0 | No automatic adjustments are made to visuals. |