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

PivotCustomSummaryEventArgs.DataField Property

Gets the data field against which the summary is calculated.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v24.2.dll

NuGet Package: DevExpress.Wpf.PivotGrid

#Declaration

public PivotGridField DataField { get; }

#Property Value

Type Description
PivotGridField

A PivotGridField object, which is the data field against which the summary is calculated.

#Remarks

When PivotGridControl is in the Asynchronous Mode, the PivotGridControl.CustomSummary event is handled in a background thread. In this instance, the DataField property does not guarantee thread safety when accessing the processed field. If you try to use the DataField property in the Asynchronous Mode, an exception will be thrown. Use the PivotCustomSummaryEventArgs.ThreadSafeDataField property to access the field thread safely.

See Also