Accessibility​Settings Accessibility​Settings Accessibility​Settings Class

Definition

Provides access to the high contrast accessibility settings.

public sealed class AccessibilitySettings : IAccessibilitySettingspublic sealed class AccessibilitySettings : IAccessibilitySettingsPublic NotInheritable Class AccessibilitySettings Implements IAccessibilitySettings
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

AccessibilitySettings() AccessibilitySettings() AccessibilitySettings()

Initializes a new AccessibilitySettings object.

public AccessibilitySettings()public AccessibilitySettings()Public Sub New()
Attributes

Properties

HighContrast HighContrast HighContrast

Gets a value that indicates whether the system high contrast feature is on or off.

public PlatForm::Boolean HighContrast { get; }public bool HighContrast { get; }Public ReadOnly Property HighContrast As bool
Value
bool bool bool

True if the high contrast feature is on; otherwise false.

Attributes

Remarks

This property indicates whether the user wants a high contrast between the colors used for foreground and background visuals. The user controls the setting of the high contrast parameter by using the Ease of Access Center in Control Panel, or another application for customizing the environment.

HighContrastScheme HighContrastScheme HighContrastScheme

Gets the name of the default high contrast color scheme.

public PlatForm::String HighContrastScheme { get; }public string HighContrastScheme { get; }Public ReadOnly Property HighContrastScheme As string
Value
string string string

The name of the default high contrast color scheme.

Attributes

Remarks

Windows uses the colors defined in the default color scheme to draw UI elements when the high contrast feature is on.

Events

HighContrastChanged HighContrastChanged HighContrastChanged

Occurs when the system high contrast feature turns on or off.

public event TypedEventHandler HighContrastChangedpublic event TypedEventHandler HighContrastChangedPublic Event HighContrastChanged
Attributes

See Also