Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ThemeSettings.HighContrast Property

Definition

Namespace:
Microsoft.UI.System

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets the current High Contrast setting.

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

Property Value

Boolean

bool

Indicates the current High Contrast setting. Returns true if High Contrast mode is enabled on the system.

Applies to


Feedback

Was this page helpful?