Vcl.Tabs.TTabSet.Canvas

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Canvas: TCanvas read FCanvas;

C++

__property Canvas;

Properties

Type Visibility Source Unit Parent
property public
Vcl.Tabs.pas
Vcl.Tabs.hpp
Vcl.Tabs TTabSet

Description

Specifies the TCanvas object that presents a drawing surface for the control.

Vcl.Tabs.TTabSet.Canvas inherits from Vcl.Controls.TCustomControl.Canvas. All content below this line refers to Vcl.Controls.TCustomControl.Canvas.

Specifies the TCanvas object that presents a drawing surface for the control.

Use the properties of the TCanvas object to draw or paint on the surface of the control. Canvas encapsulates a Windows device context, providing all the tools and methods needed for drawing and painting.

Canvas is a protected property that is usually redeclared as public in descendants of TCustomControl.

See Also

Code Examples