Vcl.ComCtrls.TLVCustomDrawEvent
Delphi
TLVCustomDrawEvent = procedure(Sender: TCustomListView; const ARect: TRect;
var DefaultDraw: Boolean) of object;
C++
typedef void __fastcall (__closure *TLVCustomDrawEvent)(TCustomListView* Sender, const Winapi::Windows::TRect &ARect, bool &DefaultDraw);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | Vcl.ComCtrls |
Description
TLVCustomDrawEvent is the procedure type of the TCustomListView.OnCustomDraw and the TListView.OnCustomDraw events.
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 the event handler exits. If DefaultDraw
remains set to True, the list view continues with the default painting process.