API:Vcl.ExtCtrls.TControlBar.Canvas
Delphi
property Canvas: TCanvas read FCanvas;
C++
__property Canvas;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | TControlBar |
Description
Specifies the TCanvas object that presents a drawing surface for the control.
Vcl.ExtCtrls.TControlBar.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