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

TcxCanvas Class

A GDI-based canvas for DevExpress controls.

#Declaration

Delphi
TcxCanvas = class(
    TcxGdiBasedCanvas
)

#Remarks

A control draws its content and UI elements on this canvas in GDI render mode. The TcxCanvas class wraps the standard TCanvas VCL class and extends it with additional draw routines, device context and clip region management functionality.

The TcxCanvas class has the following members that allow you to:

The TcxControl.Canvas and TcxControl.ActiveCanvas properties reference a TcxCanvas object. You can use these properties to draw bitmaps and primitives on a control’s surface in GDI render mode.

See Also