Skip to main content
A newer version of this page is available. .

PivotCustomFieldSortEventArgs.Field Property

Gets the field whose values are being compared.

Namespace: DevExpress.Xpf.PivotGrid

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

Declaration

public PivotGridField Field { get; }

Property Value

Type Description
PivotGridField

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

Remarks

When PivotGridControl is in the Asynchronous Mode, the PivotGridControl.CustomFieldSort event is handled in a background thread. In this instance, the Field property does not guarantee thread safety when accessing the processed field. If you try to use the Field property in the Asynchronous Mode, an exception will be thrown. Use the PivotCustomFieldSortEventArgs.ThreadSafeField property to access the field thread safely.

See Also