Skip to main content

PivotGridControl.FieldAreaIndexChanged Event

Occurs after a field has been moved.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v23.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