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