PivotCustomSummaryEventArgs.DataField Property

Gets the data field against which the summary is calculated.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v20.1.dll

Declaration

public PivotGridField DataField { get; }
Public ReadOnly Property DataField As PivotGridField

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