Vcl.ComCtrls.TCustomListView.CustomDrawItem
Delphi
function CustomDrawItem(Item: TListItem; State: TCustomDrawState;
Stage: TCustomDrawStage): Boolean; virtual;
C++
virtual bool __fastcall CustomDrawItem(TListItem* Item, TCustomDrawState State, TCustomDrawStage Stage);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomListView |
Description
Custom draw item event dispatcher.
CustomDraw generates an OnCustomDrawItem or OnAdvancedCustomDrawItem event (depending on the drawing stage and the existence of the event handler) It returns a value indicating whether the list view should continue by drawing the text of the item (true) or not (false).