Skip to main content
A newer version of this page is available. .

CompatibilitySettings.CompatibilityMode Property

Gets or sets the controls’ compatibility mode.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Data.Desktop.v21.1.dll

NuGet Package: DevExpress.Data.Desktop

Declaration

public static CompatibilityMode CompatibilityMode { get; set; }

Property Value

Type Description
CompatibilityMode

A compatibility mode.

Available values:

Name Description
Latest

The DevExpress WPF controls function like in the latest version.

v17_2

The DevExpress WPF controls function like in v17.2.

v18_1

The DevExpress WPF controls function like in v18.1.

v18_2

The DevExpress WPF controls function like in v18.2.

v19_1

The DevExpress WPF controls function like in v19.1.

v19_2

The DevExpress WPF controls function like in v19.2.

v20_1

The DevExpress WPF controls function like in v20.1.

v20_2

The DevExpress WPF controls function like in v20.2.

Remarks

To avoid breaking changes in control behavior during DevExpress version upgrade, set the CompatibilityMode property to a value that corresponds to your current installation version.

For example, you upgrade from v19.2 to v20.1. To avoid behavior changes, set the CompatibilityMode property to v19_2.

You can control individual compatibility options by changing the static properties exposed by the CompatibilitySettings class.

Refer to the Version History page for information about new features and breaking changes in each particular release.

See Also