FMX.Controls.TControl.Painting

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Painting; virtual;

C++

virtual void __fastcall Painting(void);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TControl

Description

OnPainting event dispatcher.

Painting defines the drawing area of the control by intersecting Canvas with ClipRect if ClipChildren is True and dispatches the OnPainting event.

It is always called internally before DoPaint.

The Painting method can be overridden by derived controls to establish control-specific rendering conditions.

See Also