Skip to main content

CompatibilitySettings.CompatibilityMode Property

Gets or sets the controls’ compatibility mode.

Namespace: DevExpress.Xpf.Core

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

NuGet Packages: DevExpress.Data.Desktop, DevExpress.ExpressApp.Win.Design

Declaration

public static CompatibilityMode CompatibilityMode { get; set; }

Property Value

Type Description
CompatibilityMode

A compatibility mode.

Available values:

Show 13 items
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.

v21_1

The DevExpress WPF controls function like in v21.1.

v21_2

The DevExpress WPF controls function like in v21.2.

v22_1

The DevExpress WPF controls function like in v22.1.

v22_2
v23_1

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