Skip to main content

DashboardBuilder.UseNeutralFilterMode(Boolean) Method

Specifies whether to show all items in the filter elements deselected by default.

Namespace: DevExpress.DashboardAspNetCore

Assembly: DevExpress.Dashboard.v24.2.AspNetCore.dll

Declaration

public DashboardBuilder UseNeutralFilterMode(
    bool useNeutralFilterMode
)

Parameters

Name Type Description
useNeutralFilterMode Boolean

true to activate Neutral Filter Mode; otherwise, false.

Returns

Type Description
DashboardBuilder

A reference to this instance after the operation has completed.

Remarks

The standard filter mode shows all items in the filter elements selected. An additional click is required to begin any actual filtering operation. This is not an optimal implementation for performance reasons, because it generates filtering criteria that are evaluated by the data layer and/or the database.

The neutral filter mode does not apply any criteria to the data source in its default state, resulting in improved performance.

See Neutral Filter Mode to learn more about the neutral filter mode.

See Also