Skip to main content

PivotFieldValueCancelEventHandler Delegate

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

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