Occurs after the field’s location or visibility has been changed.
public event PivotFieldEventHandler FieldAreaChanged
Public Event FieldAreaChanged As PivotFieldEventHandler
The FieldAreaChanged event's data class is PivotFieldEventArgs. The following properties provide information specific to this event:
|Field||Gets the field being processed. Inherited from PivotFieldEventArgsBase<T>.|
A field can be placed within one of four areas: Filter Header Area, Column Header Area, Row Header Area or Data Header Area. The FieldAreaChanged event occurs when the field’s Area property is changed.
An end user can drag a field between and within the areas. Dragging the field to the customization form hides this field. In this case, field’s PivotGridFieldBase.Visible property becomes false, but the PivotGridFieldBase.Area property remains unchanged. For example, you hide a field from the Data Area. The field’s PivotGridFieldBase.Area property value is still DataArea, but its PivotGridFieldBase.Visible property is changed to false.