Vcl.StdCtrls.TCustomCombo.Canvas
Delphi
property Canvas: TCanvas read FCanvas;
C++
__property Vcl::Graphics::TCanvas* Canvas = {read=FCanvas};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomCombo |
Description
Provides access to the drawing surface of the combo box.
Use Canvas as the drawing surface when customizing the way the combo box paints itself. For example, when using a TCustomCombo descendant that allows applications to draw combo box items in an OnDrawItem even, the OnDrawItem event handler uses Canvas for painting the customized items.
See Also
Code Examples