Back to Devexpress

PivotFieldFilterChangingEventArgs Class

aspnet-devexpress-dot-web-dot-aspxpivotgrid-4bbc5913.md

latest2.8 KB
Original Source

PivotFieldFilterChangingEventArgs Class

Provides data for the ASPxPivotGrid.FieldFilterChanging event.

Namespace : DevExpress.Web.ASPxPivotGrid

Assembly : DevExpress.Web.ASPxPivotGrid.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public class PivotFieldFilterChangingEventArgs :
    PivotFieldEventArgs
vb
Public Class PivotFieldFilterChangingEventArgs
    Inherits PivotFieldEventArgs

PivotFieldFilterChangingEventArgs is the data class for the following events:

Remarks

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

Inheritance

Object EventArgs PivotFieldEventArgsBase<PivotGridField> PivotFieldEventArgs PivotFieldFilterChangingEventArgs

See Also

PivotFieldFilterChangingEventArgs Members

DevExpress.Web.ASPxPivotGrid Namespace