Skip to main content
Pie
ra0

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.Refresh Method

In This Article

Restores the default settings of the device context.

#Declaration

Delphi
procedure Refresh;

#Remarks

Call this procedure to detach the Brush, Pen, and Font settings from the device context of the underlying canvas. As a result, the context uses the draw settings it had at the application startup.

A Refresh procedure call does affect the Brush, Pen, and Font property values. A consequent draw method call reapplies the required canvas settings to the device context.

Note

The Refresh procedure calls the Refresh procedure of the underlying canvas.

See Also