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

TdxUIAdornerManager.OnAdornerCustomDrawBackground Event

In This Article

Allows you to custom paint a badge UI adorner‘s background.

#Declaration

Delphi
property OnAdornerCustomDrawBackground: TdxAdornerCustomDrawEvent read; write;

#Remarks

This event occurs prior to the OnAdornerCustomDraw event, allowing you to disable the default badge background drawing routines by setting the ADone parameter to True. You can custom paint the background of the AAdorner badge by using its ViewInfo information and drawing surface accessible through AViewInfo and ACanvas parameters from an OnAdornerCustomDrawBackground event handler.

Refer to the TdxAdornerCustomDrawEvent procedural type description for detailed information on all the other parameters accessible from an OnAdornerCustomDrawBackground event handler.

Note

Handling the guide UI adorner‘s OnAdornerCustomDrawBackground event has no effect, since the default guide painting routine does not have a distinctive background drawing stage.

See Also