Back to Devexpress

PivotGridControl.FieldAreaIndexChanged Event

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridcontrol-cc210895.md

latest2.6 KB
Original Source

PivotGridControl.FieldAreaIndexChanged Event

Occurs after a field has been moved.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
public event PivotFieldEventHandler FieldAreaIndexChanged
vb
Public Event FieldAreaIndexChanged As PivotFieldEventHandler

Event Data

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

PropertyDescription
FieldGets 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

AreaIndex

FieldAreaChanged

PivotGridControl Class

PivotGridControl Members

DevExpress.XtraPivotGrid Namespace