Vcl.ComCtrls.TTVCustomDrawEvent
Delphi
TTVCustomDrawEvent = procedure(Sender: TCustomTreeView; const ARect: TRect; var DefaultDraw: Boolean) of object;
C++
typedef void __fastcall (__closure *TTVCustomDrawEvent)(TCustomTreeView* Sender, const System::Types::TRect &ARect, bool &DefaultDraw);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | Vcl.ComCtrls |
Description
Used in the TCustomTreeView.OnCustomDraw event.
This event is used in the TCustomTreeView.OnCustomDraw event.
Sender is the tree-view control that is about to be painted.
ARect is the rectangle that defines the boundaries of the tree-view control.
DefaultDraw specifies whether the control should paint itself after the event handler exits.