PivotGridControl.FieldAreaIndexChanged Event

Occurs after a field has been moved.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v20.1.dll

Declaration

public event PivotFieldEventHandler FieldAreaIndexChanged
Public Event FieldAreaIndexChanged As PivotFieldEventHandler

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.
Handled Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. Inherited from RoutedEventArgs.
OriginalSource Gets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class. Inherited from RoutedEventArgs.
RoutedEvent Gets or sets the RoutedEvent associated with this RoutedEventArgs instance. Inherited from RoutedEventArgs.
Source Gets or sets a reference to the object that raised the event. Inherited from RoutedEventArgs.

Remarks

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

  • a field's PivotGridField.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 PivotFieldEventArgs.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 Fields.

See Also