Skip to main content
All docs
V24.1

CompatibilitySettings.ComboBoxCompatibilityMode Property

Specifies whether the ComboBox component uses its legacy code.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public static bool ComboBoxCompatibilityMode { get; set; }

Property Value

Type Description
Boolean

true to use legacy ComboBox implementation (v23.2 or earlier); false to use updated ComboBox code.

Remarks

In v24.1, the DevExpress Blazor ComboBox 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 ComboBox implementation (v23.2 or earlier). Specify the ComboBoxCompatibilityMode property in the Program.cs file before you register DevExpress resources.

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

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

Important

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

See Also