RAD Studio VCL Reference
|
Occurs when an owner-draw list view must be rendered.
property OnCustomDraw: TLVCustomDrawEvent;
__property TLVCustomDrawEvent OnCustomDraw;
Write an OnCustomDraw event handler to draw to the list view's Canvas before its items are painted. Unlike the OnDrawItem event, the list view receives this event even if the OwnerDraw property is false.
Sender is the list view that is about to be painted.
ARect indicates the dimensions of the list view on its Canvas.
DefaultDraw indicates whether the list view should continue with the default painting after the event handler exits. Set DefaultDraw to false to prevent the drawing of the list view after event handler exits. If DefaultDraw remains set to true, the list view continues with the default painting process.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|