PivotGridControl.FieldExpandedInFieldGroupChanged Event
Fires when the expansion status of fields combined into a field group is changed.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.XtraPivotGrid.v24.2.dll
NuGet Package: DevExpress.Win.PivotGrid
#Declaration
public event PivotFieldEventHandler FieldExpandedInFieldGroupChanged
#Event Data
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 Pivot |
#Remarks
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.