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

TdxBackground.OnPaint Event

In This Article

Occurs when the report background is being painted.

#Declaration

Delphi
property OnPaint: TCustomdxBackgroundPaintEvent read; write;

#Remarks

The OnPaint event handler is used to perform special actions when a report background is being painted on a device context, specified by the Sender parameter.

The Canvas parameter specifies the drawing surface.

The Rect parameter determines the rectangle where to draw the background.

The ADone parameter determines whether this method processes the entire operation and completes the Paint method.

The ASequence parameter determines whether the DoPaint method was called before or after background painting. Available values include:

Value Description
psBefore DoPaint called before background painting.
psAfter DoPaint called after background painting.
See Also