Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PivotFieldFilterChangingEventArgs Class

Provides data for the PivotGridControl.FieldFilterChanging event.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v24.2.dll

NuGet Package: DevExpress.Wpf.PivotGrid

#Declaration

public class PivotFieldFilterChangingEventArgs :
    PivotFieldEventArgs

#Remarks

The PivotGridControl.FieldFilterChanging event occurs when a field’s filter condition is about to be changed, allowing you to cancel this action. The PivotFieldFilterChangingEventArgs class provides the PivotFieldFilterChangingEventArgs.Values property that returns the collection of filter values which is about to be assigned to the filter’s PivotGridFieldFilterValues.Values property. To cancel this action, set the PivotFieldFilterChangingEventArgs.Cancel property to true. You can also obtain the field for which the filter condition is being changed, and the current filter type using the event parameter’s PivotFieldEventArgs.Field and PivotFieldFilterChangingEventArgs.FilterType properties, respectively.

#Inheritance

Object
EventArgs
RoutedEventArgs
PivotFieldEventArgs
PivotFieldFilterChangingEventArgs
See Also