Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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 PivotFieldEventArgsBase<T>.

#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.

See Also