Skip to main content
A newer version of this page is available. .

PivotCustomDrawFieldHeaderEventArgs Class

Provides data for the PivotGridControl.CustomDrawFieldHeader event.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v18.2.dll

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