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

PivotCustomDrawCellBaseEventArgs Class

Provides data for custom painting events invoked for particular data cells.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

NuGet Package: DevExpress.Win.PivotGrid

#Declaration

public class PivotCustomDrawCellBaseEventArgs :
    PivotCellEventArgs

#Remarks

The PivotCustomDrawCellBaseEventArgs class serves as a base for classes that provide data for custom painting events that fire for particular cells. The PivotCustomDrawCellBaseEventArgs class exposes properties and methods that allow you to identify the cell value, position (column and row), etc.

Note

You cannot use the PivotCustomDrawCellBaseEventArgs 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 PivotCustomDrawCellBaseEventArgs.ThreadSafeArgs property to access event data. To learn more, see Asynchronous Mode.

See Also