Skip to main content

TcxControl.Canvas Property

Provides access to the control’s GDI-based canvas.

Declaration

property Canvas: TcxCanvas read;

Property Value

Type
TcxCanvas

Remarks

Use this property to perform the basic draw operations (such as show geometric primitives or custom text) on top of the control surface in GDI render mode. Refer to the TcxCanvas class description for detailed information on available options.

Note

An opaque Direct3D context overlaps the control’s GDI-based canvas in DirectX render mode, and therefore, all draw operations performed via the Canvas property have no effect.

See Also