PivotCustomDrawFieldHeaderEventArgs Class
Provides data for the PivotGridControl.CustomDrawFieldHeader event.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.XtraPivotGrid.v24.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.