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 |
|
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.