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

PivotCustomDrawFieldHeaderEventArgs Class

Provides data for the PivotGridControl.CustomDrawFieldHeader event.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

NuGet Package: DevExpress.Win.PivotGrid

#Declaration

public class PivotCustomDrawFieldHeaderEventArgs :
    PivotCustomDrawEventArgs

#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.

#Inheritance

Object
EventArgs
PivotCustomDrawEventArgs
PivotCustomDrawFieldHeaderEventArgs
See Also