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.ActiveCanvas Property

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

#Declaration

Delphi
property ActiveCanvas: TcxCanvas read;

#Property Value

Type
TcxCanvas

#Remarks

This property returns the Canvas property value if the control has a handle (that is, a HandleAllocated function call returns True). Otherwise, the ActiveCanvas property returns a screen canvas.

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