Vcl.ComCtrls.TCustomListView.CustomDraw
Delphi
function CustomDraw(const ARect: TRect; Stage: TCustomDrawStage): Boolean; virtual;
C++
virtual bool __fastcall CustomDraw(const System::Types::TRect &ARect, TCustomDrawStage Stage);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomListView |
Description
Custom draw event dispatcher.
CustomDraw generates an OnCustomDraw or OnAdvancedCustomDraw event (depending on the drawing stage and the existence of the event handler). It returns a value indicating whether the list view should continue with the default drawing behavior (true) or not (false).