Skip to main content
A newer version of this page is available. .

PivotCustomFilterPopupItemsEventArgs Class

Provides data for the PivotGridControl.CustomFilterPopupItems event.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v19.1.dll

Declaration

public class PivotCustomFilterPopupItemsEventArgs :
    RoutedEventArgs

Remarks

The PivotGridControl.CustomFilterPopupItems event allows you to customize the filter drop-down list items. The PivotCustomFilterPopupItemsEventArgs class provides the PivotCustomFilterPopupItemsEventArgs.Items property used to access the filter items collection. Elements of the collection are represented by the PivotGridFilterItem objects. Initially, the filter items collection contains items representing the unique values stored in the underlying data source in the current field. To hide a filter item from the drop-down list, remove the corresponding element from the collection.

To specify the check state of individual filter items, use their PivotGridFilterItem.IsChecked properties. To do this for all filter items, use the PivotCustomFilterPopupItemsEventArgs.CheckAllItems method.

You can also obtain the field for which the event has been raised using the PivotCustomFilterPopupItemsEventArgs.Field property.

The filter drop-down list contains the ‘Show Blanks’ item used to control whether the data records that contain null values in the respective field are processed by the pivot grid. To access the ‘Show Blanks’ filter item, use the PivotCustomFilterPopupItemsEventArgs.ShowBlanksItem property.

Note

In the OLAP mode, the PivotCustomFilterPopupItemsEventArgs.ShowBlanksItem property returns null.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PivotCustomFilterPopupItemsEventArgs class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
EventArgs
RoutedEventArgs
PivotCustomFilterPopupItemsEventArgs
See Also