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