PivotCustomDrawFieldHeaderEventArgs Class
Provides data for the PivotGridControl.CustomDrawFieldHeader event.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.XtraPivotGrid.v17.2.dll
Declaration
Remarks
The PivotGridControl.CustomDrawFieldHeader event fires before a field header is painted and allows field headers to be painted manually. The PivotCustomDrawFieldHeaderEventArgs class provides properties that allow you to identify the field whose header is being painted and provides settings which are common to all custom painting events. The PivotCustomDrawFieldHeaderEventArgs.Info property provides state information about a field header.
Note
You cannot use the PivotCustomDrawFieldHeaderEventArgs 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 PivotCustomDrawFieldHeaderEventArgs.ThreadSafeArgs property to access event data. To learn more, see Asynchronous Mode.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PivotCustomDrawFieldHeaderEventArgs 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.