FMX.Controls.TStyledControl.Painting

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

procedure Painting; override;

C++

virtual void __fastcall Painting(void);

Properties

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

Description

OnPainting event dispatcher.

FMX.Controls.TStyledControl.Painting inherits from FMX.Controls.TControl.Painting. All content below this line refers to FMX.Controls.TControl.Painting.

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