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

PivotFieldValueCancelEventHandler Delegate

Represents a method that will handle the PivotGridControl.FieldValueCollapsing and PivotGridControl.FieldValueExpanding events.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v20.2.dll

NuGet Package: DevExpress.Win.PivotGrid

Declaration

public delegate void PivotFieldValueCancelEventHandler(
    object sender,
    PivotFieldValueCancelEventArgs e
);

Parameters

Name Type Description
sender Object

The event source. This parameter identifies the Pivot Grid Control which raised the event.

e PivotFieldValueCancelEventArgs

A PivotFieldValueCancelEventArgs object which contains event data.

Remarks

When creating a PivotFieldValueCancelEventHandler delegate, you identify the method that will handle the corresponding event. To associate an event with your event handler, add a delegate instance to this event. The event handler is called whenever the event occurs unless you remove the delegate. For more information on event handler delegates, see Events and Delegates in MSDN.

See Also