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

PivotCustomDrawFieldValueThreadSafeEventArgs.Painter Property

Gets the painter object that provides the default element painting mechanism.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

NuGet Package: DevExpress.Win.PivotGrid

#Declaration

public PivotHeaderObjectPainter Painter { get; }

#Property Value

Type Description
DevExpress.XtraPivotGrid.ViewInfo.PivotHeaderObjectPainter

A DevExpress.XtraPivotGrid.ViewInfo.PivotHeaderObjectPainter object.

#Remarks

The Painter object provides the DrawObject method that allows you to paint the current field value using the default painting mechanism. To implement default element painting, you need to pass the event’s PivotCustomDrawFieldValueThreadSafeEventArgs.Info parameter to the DrawObject method. Alternatively, you can create your own DevExpress.XtraPivotGrid.ViewInfo.PivotHeaderObjectInfoArgs object, customize it, and pass it to the method.

See Also