Back to Devexpress

PivotGridField.SummaryTypeChanged Event

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridfield-dd7cd0cb.md

latest1.7 KB
Original Source

PivotGridField.SummaryTypeChanged Event

Occurs after the field’s summary type has been changed.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
public event EventHandler SummaryTypeChanged
vb
Public Event SummaryTypeChanged As EventHandler

Event Data

The SummaryTypeChanged event's data class is EventArgs.

Remarks

If the PivotGridFieldOptions.AllowRunTimeSummaryChange option is enabled, an end-user can change the data field’s summary type by clicking its header (see the image below):

To change the field’s summary type in code, use the PivotGridFieldBase.SummaryType property.

In both cases, changing the field’s summary type raises the SummaryTypeChanged event.

See Also

SummaryType

PivotGridField Class

PivotGridField Members

DevExpress.XtraPivotGrid Namespace