DashboardBuilder.UseNeutralFilterMode(Boolean) Method

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

Namespace: DevExpress.DashboardAspNetCore

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

Declaration

public DashboardBuilder UseNeutralFilterMode(
    bool useNeutralFilterMode
)
Public Function UseNeutralFilterMode(
    useNeutralFilterMode As Boolean
) As DashboardBuilder

Parameters

Type Name Description
Boolean useNeutralFilterMode

true, if all items in the filter elements deselected by default; 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 extra 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