Back to Devexpress

PivotCustomDrawFieldValueEventArgs Class

windowsforms-devexpress-dot-xtrapivotgrid-3fe177f3.md

latest3.9 KB
Original Source

PivotCustomDrawFieldValueEventArgs Class

Provides data for the PivotGridControl.CustomDrawFieldValue event.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
public class PivotCustomDrawFieldValueEventArgs :
    PivotCustomDrawEventArgs
vb
Public Class PivotCustomDrawFieldValueEventArgs
    Inherits PivotCustomDrawEventArgs

PivotCustomDrawFieldValueEventArgs is the data class for the following events:

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

PivotCustomDrawFieldValueEventArgs Members

DevExpress.XtraPivotGrid Namespace