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

PivotFieldFilterChangingEventArgs Class

Provides data for the PivotGridControl.FieldFilterChanging event.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v17.2.dll

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 that are 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 PivotFieldEventArgsBase<T>.Field and PivotFieldFilterChangingEventArgs.FilterType properties, respectively.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PivotFieldFilterChangingEventArgs 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

See Also