ElementHighContrastAdjustment ElementHighContrastAdjustment ElementHighContrastAdjustment ElementHighContrastAdjustment Enum

Definition

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

This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.

public : enum class ElementHighContrastAdjustment
enum class winrt::Windows::UI::Xaml::ElementHighContrastAdjustment : uint32_t
public enum ElementHighContrastAdjustment
Public Enum ElementHighContrastAdjustment
Attributes

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Fields

Application Application Application Application 2147483648

Behavior is inherited from the Application.HighContrastAdjustment setting.

Auto Auto Auto Auto 4294967295

Visuals are automatically adjusted when high contrast is enabled.

None None None None 0

No automatic adjustments are made to visuals.