CompatibilitySettings.CompatibilityMode Property

Gets or sets the controls' compatibility mode.

Namespace: DevExpress.Xpf.Core

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


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

Property Value

Type Description

A compatibility mode.


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