Back to Devexpress

CompatibilitySettings.CompatibilityMode Property

corelibraries-devexpress-dot-xpf-dot-core-dot-compatibilitysettings-7270f6ae.md

latest2.9 KB
Original Source

CompatibilitySettings.CompatibilityMode Property

Gets or sets the controls’ compatibility mode.

Namespace : DevExpress.Xpf.Core

Assembly : DevExpress.Data.Desktop.v25.2.dll

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

Declaration

csharp
public static CompatibilityMode CompatibilityMode { get; set; }
vb
Public Shared Property CompatibilityMode As CompatibilityMode

Property Value

TypeDescription
CompatibilityMode

A compatibility mode.

|

Available values:

Show 18 items

NameDescription
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 | | | v23_2 | | | v24_1 | | | v24_2 | | | v25_1 | | | v25_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

CompatibilitySettings Class

CompatibilitySettings Members

DevExpress.Xpf.Core Namespace