Aracılığıyla paylaş


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 supports a bitwise combination of its member values.

public enum class ElementHighContrastAdjustment
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class ElementHighContrastAdjustment
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum ElementHighContrastAdjustment
Public Enum ElementHighContrastAdjustment
Inheritance
ElementHighContrastAdjustment
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Fields

None 0

No automatic adjustments are made to visuals.

Application 2147483648

Behavior is inherited from the Application.HighContrastAdjustment setting.

Auto 4294967295

Visuals are automatically adjusted when high contrast is enabled.

Applies to