Skip to main content
All docs
V23.2

CompatibilitySettings.ListBoxCompatibilityMode Property

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.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). Note that we may remove this property in future versions.

Specify the ListBoxCompatibilityMode property in the Program.cs file before you register DevExpress resources.

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

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