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

PivotGridControl.FieldAreaIndexChanged Event

Occurs after a field has been moved.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

NuGet Package: DevExpress.Win.PivotGrid

#Declaration

public event PivotFieldEventHandler FieldAreaIndexChanged

#Event Data

The FieldAreaIndexChanged event's data class is PivotFieldEventArgs. The following properties provide information specific to this event:

Property Description
Field Gets the field being processed. Inherited from PivotFieldEventArgsBase<T>.

#Remarks

The FieldAreaIndexChanged event occurs after one of the following has happened:

  • a field’s PivotGridFieldBase.AreaIndex property has been changed via code;
  • an end-user has moved a field to another position within the same area;
  • an end-user has moved a field to another area, and the field’s index in this area differs from the index the field had before the operation.

To determine which field has been moved, use the event parameter’s PivotFieldEventArgsBase<T>.Field property.

All the actions above also raise the PivotGridControl.FieldAreaChanged event. This event occurs before the FieldAreaIndexChanged event.

To learn more about fields, see Pivot Grid Fields.

See Also