Back to Devexpress

PivotFieldValueCancelEventHandler Delegate

windowsforms-devexpress-dot-xtrapivotgrid-bcc13167.md

latest2.0 KB
Original Source

PivotFieldValueCancelEventHandler Delegate

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

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
public delegate void PivotFieldValueCancelEventHandler(
    object sender,
    PivotFieldValueCancelEventArgs e
);
vb
Public Delegate Sub PivotFieldValueCancelEventHandler(
    sender As Object,
    e As PivotFieldValueCancelEventArgs
)

Parameters

NameTypeDescription
senderObject

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

DevExpress.XtraPivotGrid Namespace