A newer version of this page is available. Switch to the current version.

PivotFieldValueCancelEventHandler Delegate

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v19.2.dll


public delegate void PivotFieldValueCancelEventHandler(
    object sender,
    PivotFieldValueCancelEventArgs e


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.


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