TdxUIAdornerManager.OnAdornerCustomDrawBackground Event
Allows you to custom paint a badge UI adorner‘s background.
Declaration
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.