Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PivotAreaChangingEventArgs Class

Provides data for the PivotGridControl.FieldAreaChanging event.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

NuGet Package: DevExpress.Win.PivotGrid

#Declaration

public class PivotAreaChangingEventArgs :
    PivotFieldEventArgs

#Remarks

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