Sign in Join
FPDoc Onlineexperiment

TCustomListView.Canvas property

Member of TCustomListViewpublicIn unit ComCtrls

TCanvas instance used to draw the control.

Declaration

pascal
property Canvas: TCanvas read FCanvas;

Description

Canvas is a read-only TCanvas property with the canvas used to perform drawing operations for the control. At run-time, a TControlCanvas instance is created and assigned to the property.

Canvas is used in the DrawItem method, and when the CN_DRAWITEM control notification message is handled for the control. It is also used to get text metrics when the editor for the control is displayed.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.