Back to Devexpress

PivotGridControl.FieldExpandedInFieldGroupChanged Event

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridcontrol-b6dcfba8.md

latest2.3 KB
Original Source

PivotGridControl.FieldExpandedInFieldGroupChanged Event

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

Declaration

csharp
public event PivotFieldEventHandler FieldExpandedInFieldGroupChanged
vb
Public Event FieldExpandedInFieldGroupChanged As PivotFieldEventHandler

Event Data

The FieldExpandedInFieldGroupChanged event's data class is PivotFieldEventArgs. The following properties provide information specific to this event:

PropertyDescription
FieldGets 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

ExpandedInFieldsGroup

PivotGridControl Class

PivotGridControl Members

DevExpress.XtraPivotGrid Namespace