Skip to main content
A newer version of this page is available. .
All docs
V22.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.v22.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
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Remarks

See this help article for more information: Skins.

See Also