Skip to main content
A newer version of this page is available. .
All docs
V23.1

WindowsFormsSettings.TrackSystemHighContrastMode Property

If this property is enabled, your application automatically applies the DevExpress “High Contrast” skin when Windows high contrast mode is on, and disables UI selectors that allow users to change skins and skin palettes. Otherwise, if this property is disabled, the active application skin does not depend on the actual state of Windows high contrast mode, and users can select any skin or skin palette. Windows high contrast mode is configured in the “Personalize | High contrast settings” screen.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v23.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public static DefaultBoolean TrackSystemHighContrastMode { get; set; }

Property Value

Type Description
DefaultBoolean

Specifies whether your application should automatically switch to the “High Contrast” skin when Windows high contrast mode is on. The DefaultBoolean.Default value is identical to DefaultBoolean.True.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

Remarks

See this help article for more information: Skins.

See Also