Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CompatibilitySettings.CompatibilityMode Property

Specifies the component suite version used for compatibility.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
public static CompatibilityMode CompatibilityMode { get; set; }

#Property Value

Type Description
CompatibilityMode

A CompatibilityMode enumeration value.

Available values:

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.

v23_1

Blazor components behave as in v23.1.

v23_2

Blazor components behave as in v23.2.

#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