windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridcontrol-b6dcfba8.md
Fires when the expansion status of fields combined into a field group is changed.
Namespace : DevExpress.XtraPivotGrid
Assembly : DevExpress.XtraPivotGrid.v25.2.dll
NuGet Package : DevExpress.Win.PivotGrid
public event PivotFieldEventHandler FieldExpandedInFieldGroupChanged
Public Event FieldExpandedInFieldGroupChanged As PivotFieldEventHandler
The FieldExpandedInFieldGroupChanged 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>. |
Fields can be arranged into groups via the PivotGridControl.Groups property. These fields cannot be separated from each other, and are always moved as a whole via drag and drop.
To get and set the expansion status of fields combined into a group in code, use the PivotGridFieldBase.ExpandedInFieldsGroup property.
When the expansion status of fields is changed via code or by an end-user, the FieldExpandedInFieldGroupChanged event fires. The event’s Field parameter specifies the field being expanded/collapsed.
See Also