Application.HighContrastAdjustment Property

Definition

Gets or sets a value that indicates whether the framework automatically adjusts visual properties when high contrast themes are enabled.

C#
public ApplicationHighContrastAdjustment HighContrastAdjustment { get; set; }

Property Value

A value of the enumeration that indicates whether the framework automatically adjusts visual properties when high contrast themes are enabled. The default is Auto.

Remarks

The value of this property affects all UIElement instances where the UIElement's HighContrastAdjustment has not been explicitly set. Setting it to None provides an easy way to disable the framework's automatic adjustments across all its windows and elements.

For more information about the behavior of this feature, see the remarks for the UIElement.HighContrastAdjustment property.

Applies to

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