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

PivotFieldValueEventArgs Class

Serves as a base for the classes that provide data for the events which are used to customize column and row headers.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

NuGet Package: DevExpress.Win.PivotGrid

#Declaration

public class PivotFieldValueEventArgs :
    PivotFieldValueEventArgsBase<PivotGridField>

The following members return PivotFieldValueEventArgs objects:

#Remarks

The PivotFieldValueEventArgs class serves as a base for the PivotFieldDisplayTextEventArgs and PivotFieldImageIndexEventArgs classes that provide data for the PivotGridControl.FieldValueDisplayText and PivotGridControl.FieldValueImageIndex events, respectively.

The type of the currently processed header is determined by the PivotFieldValueEventArgsBase<T>.ValueType property. If the header is a field value or total header you can get the value of the corresponding field via the PivotFieldValueEventArgsBase<T>.Value property.

See Also