Vcl.ComCtrls.TCustomListView.Canvas

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Canvas: TCanvas read FCanvas;

C++

__property Vcl::Graphics::TCanvas* Canvas = {read=FCanvas};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomListView

Description

Gives access to the list view's canvas.

Use the Canvas property to paint to the list view's canvas during custom draw events such as OnDrawItem, OnCustomDraw, OnCustomDrawItem, OnCustomDrawSubItem, OnAdvancedCustomDraw, OnAdvancedCustomDrawItem, and OnAdvancedCustomDrawSubItem.

See Also

Code Examples