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