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

CompatibilityMode Enum

Lists values that specify the compatibility settings version.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public enum CompatibilityMode

Members

Name Description
Latest

Blazor components behave as in the latest version.

v22_1

Blazor components behave as in v22.1.

v22_2

Blazor components behave as in v22.2.

Related API Members

The following properties accept/return CompatibilityMode values:

Remarks

You can use the CompatibilityMode property to avoid certain breaking changes in component behavior when you upgrade the component suite version. Specify this property in the Program.cs file before you register DevExpress resources.

// ...
DevExpress.Blazor.CompatibilitySettings.CompatibilityMode = DevExpress.Blazor.CompatibilityMode.v22_1;
builder.Services.AddDevExpressBlazor();
// ...
app.Run();

You can also specify individual compatibility options.

See Also