Back to Devexpress

PivotCustomSummaryEventArgs.DataField Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotcustomsummaryeventargs-bd98a43b.md

latest2.1 KB
Original Source

PivotCustomSummaryEventArgs.DataField Property

Gets the data field against which the summary is calculated.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

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

Property Value

TypeDescription
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

ThreadSafeDataField

PivotCustomSummaryEventArgs Class

PivotCustomSummaryEventArgs Members

DevExpress.Xpf.PivotGrid Namespace