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

PivotCustomDrawFieldHeaderThreadSafeEventArgs.Painter Property

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v19.1.dll

Declaration

public HeaderObjectPainter Painter { get; }

Property Value

Type Description
DevExpress.Utils.Drawing.HeaderObjectPainter

A HeaderObjectPainter object.

Remarks

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

See Also