Skip to main content

PivotCustomSummaryEventArgs.DataField Property

Gets the data field against which the summary is calculated.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v24.1.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