PivotCustomDrawFieldValueEventArgs Class

Provides data for the PivotGridControl.CustomDrawFieldValue event.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v20.1.dll

Declaration

public class PivotCustomDrawFieldValueEventArgs :
    PivotCustomDrawEventArgs
Public Class PivotCustomDrawFieldValueEventArgs
    Inherits PivotCustomDrawEventArgs

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.

Inheritance

Object
EventArgs
PivotCustomDrawEventArgs
PivotCustomDrawFieldValueEventArgs
See Also