FMX.Controls.Presentation.TPresentedControl.PaintChildren

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure PaintChildren; override;

C++

virtual void __fastcall PaintChildren();

Properties

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

Description

Renders the child controls.

FMX.Controls.Presentation.TPresentedControl.PaintChildren inherits from FMX.Controls.TControl.PaintChildren. All content below this line refers to FMX.Controls.TControl.PaintChildren.

Renders the child controls.

The PaintChildren method is called automatically in the process of painting of the current control. It renders child controls, if any, on the surface specified by the Canvas property.

The effects that are applied to the control are also applied to its children.

TControl descendants can override PaintChildren to provide specific rendering of the respective controls.

See Also