Megosztás a következőn keresztül:


AccessibilitySettings.HighContrast Property

Definition

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

public:
 property bool HighContrast { bool get(); };
bool HighContrast();
public bool HighContrast { get; }
var boolean = accessibilitySettings.highContrast;
Public ReadOnly Property HighContrast As Boolean

Property Value

Boolean

bool

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

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.

Applies to