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

PivotFieldDisplayTextEventArgs Class

Provides data for the PivotGridControl.FieldValueDisplayText event.

Namespace: DevExpress.Xpf.PivotGrid

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

NuGet Package: DevExpress.Wpf.PivotGrid

#Declaration

public class PivotFieldDisplayTextEventArgs :
    PivotFieldValueEventArgs

#Remarks

The PivotGridControl.FieldValueDisplayText event allows you to provide custom text displayed within individual field values or filter dropdown items.

If a field’s PivotGridField.SortMode property is set to FieldSortMode.DisplayText and the pivot grid is in Asynchronous Mode, the PivotGridControl.FieldValueDisplayText event is handled in a background thread. In this instance, you cannot access the PivotFieldEventArgs.Field and PivotFieldValueEventArgs.DataField event parameter’s properties. Use the PivotFieldDisplayTextEventArgs.ThreadSafeField and PivotFieldDisplayTextEventArgs.ThreadSafeDataField properties instead.

See Also