FMX.ListView.TListView.OnPaint

From RAD Studio API Documentation

Delphi

property OnPaint: TOnPaintEvent read FOnPaint write FOnPaint;

C++

__property OnPaint;

Properties

Type Visibility Source Unit Parent
event published
FMX.ListView.pas
FMX.ListView.hpp
FMX.ListView TListView

Description

Occurs when the control is redrawn. {{#multireplace:FMX.ListView.TListView.OnPaint|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FMX.Controls.TControl.OnPaint|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:FMX.Controls.TControl.OnPaint|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Occurs when the control is redrawn.

OnPaint also occurs when DoPaint is called.

Write an event handler for OnPaint to change the way the control renders itself.

See Also