Vcl.ComCtrls.TCustomListView.CustomDrawSubItem

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CustomDrawSubItem(Item: TListItem; SubItem: Integer;  State: TCustomDrawState; Stage: TCustomDrawStage): Boolean; virtual;

C++

virtual bool __fastcall CustomDrawSubItem(TListItem* Item, int SubItem, TCustomDrawState State, TCustomDrawStage Stage);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomListView

Description

Custom draw subitem event dispatcher.

CustomDrawSubItem generates an OnCustomDrawSubItem or OnAdvancedCustomDrawSubItem event, depending on the current painting stage and the existence of an event handler. It returns a value indicating whether the list view should continue by drawing the text of the subitem (true) or not (false).

See Also