Skip to main content
All docs
V24.1

CompatibilitySettings.ListBoxCompatibilityMode Property

Specifies whether the old implementation of the List Box component is used.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public static bool ListBoxCompatibilityMode { get; set; }

Property Value

Type Description
Boolean

true to use the old List Box implementation (v23.1 or earlier); false to use the current List Box version.

Remarks

In v23.2, the DevExpress Blazor List Box was rewritten from scratch. Visual and data layers are new, but the public API remains unchanged. You may need to update your code since several breaking changes were introduced.

If you are not ready to update your application to take the new behavior into account, you can temporarily switch to the previous List Box implementation (v23.1 or earlier). Specify the ListBoxCompatibilityMode property in the Program.cs file before you register DevExpress resources.

// ...
DevExpress.Blazor.CompatibilitySettings.ListBoxCompatibilityMode = true;

builder.Services.AddDevExpressBlazor();
app.Run();

Important

This property will be removed in v24.2. Use it only as a temporary solution.

See Also