Vcl.ComCtrls.TLVCustomDrawEvent
C++
typedef void __fastcall (__closure *TLVCustomDrawEvent)(TCustomListView* Sender, const System::Types::TRect &ARect, bool &DefaultDraw);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| typedef | public | 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.