Skip to main content

PivotSummaryFilter.Apply(Object, Object) Method

Applies the summary filter with the specified range of values to be displayed.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v23.2.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

public void Apply(
    object startValue,
    object endValue
)

Parameters

Name Type Description
startValue Object

The minimum value to be displayed. This value is assigned to the PivotSummaryFilter.StartValue property.

endValue Object

The maximum value to be displayed. This value is assigned to the PivotSummaryFilter.EndValue property.

Remarks

This overload of the Apply method applies summary filtering to cells that belong to the last detail level. To do this, it sets the PivotSummaryFilter.Mode property to PivotSummaryFilterMode.LastLevel.

You can use another overload of the Apply method that takes column and row fields to apply filtering to a specified detail level.

As an alternative to calling the Apply method, you can use properties exposed by the PivotSummaryFilter object to configure and apply summary filtering. To learn more, see Filtering by Summaries.

See Also