Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxControl.Canvas Property

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

#Declaration

Delphi
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