Skip to main content

PivotAreaChangingEventArgs Class

Provides data for the PivotGridControl.FieldAreaChanging event.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v23.1.dll

NuGet Package: DevExpress.Win.PivotGrid


public class PivotAreaChangingEventArgs :


The PivotGridControl.FieldAreaChanging event is raised before:

  • the area over which the dragged field header is currently located is changed;
  • the field header’s position among the other headers within the same area is changed.

The PivotAreaChangingEventArgs provides the PivotAreaChangingEventArgs.NewArea and PivotAreaChangingEventArgs.NewAreaIndex properties that allow the current position of the field being dragged to be identified. The PivotAreaChangingEventArgs.Allow property specifies whether the dragged field header can be dropped on the area it’s currently located over.

See Also