PivotCustomDrawFieldValueEventArgs Class
Provides data for the PivotGridControl.CustomDrawFieldValue event.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.XtraPivotGrid.v18.1.dll
Declaration
Remarks
The PivotGridControl.CustomDrawFieldValue event enables field values, total headers, grand total headers and data field headers to be painted manually.
The PivotCustomDrawFieldValueEventArgs class provides the PivotCustomDrawFieldValueEventArgs.DisplayText property which specifies the display text of the currently processed header. If the current header is a field value or total header the PivotCustomDrawFieldValueEventArgs.Value property returns the value of the corresponding column field or row field. The properties that provide the base information on the painted field value (its bounding rectangle, appearance settings, etc.) are inherited from the PivotCustomDrawEventArgs class.
Note
You cannot use the PivotCustomDrawFieldValueEventArgs class members to access event data while an asynchronous operation is being performed. Use the pivot grid’s IThreadSafeAccessible.IsAsyncInProgress property to determine whether an operation is in progress. If this property returns true, use a thread-safe event parameter returned by the PivotCustomDrawFieldValueEventArgs.ThreadSafeArgs property to access event data. To learn more, see Asynchronous Mode.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the PivotCustomDrawFieldValueEventArgs class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.