Back to Devexpress

PivotCustomFieldSortEventArgs.Field Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotcustomfieldsorteventargs-1db552b5.md

latest1.9 KB
Original Source

PivotCustomFieldSortEventArgs.Field Property

Gets the field whose values are sorted.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

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

Property Value

TypeDescription
PivotGridField

A PivotGridField object, which is the field whose values are sorted.

|

Remarks

When PivotGridControl is in the Asynchronous Mode, the PivotGridControl.CustomFieldSort event is handled in a background thread and the Field property does not guarantee thread safety. An exception is thrown in this situation.

Important

In the Asynchronous Mode use the PivotCustomFieldSortEventArgs.ThreadSafeField property to safely access the field.

See Also

ThreadSafeField

PivotCustomFieldSortEventArgs Class

PivotCustomFieldSortEventArgs Members

DevExpress.Xpf.PivotGrid Namespace