Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PivotCustomFieldSortEventArgs.Field Property

Gets the field whose values are sorted.

Namespace: DevExpress.Xpf.PivotGrid

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

NuGet Package: DevExpress.Wpf.PivotGrid

#Declaration

public PivotGridField Field { get; }

#Property Value

Type Description
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