Vcl.ComCtrls.TCustomTreeView.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 TCustomTreeView

Description

Provides access to the canvas.

Use the Canvas property to paint to the canvas from the OnCustomDraw and OnCustomDrawItem event handlers.

See Also

Code Examples