FMX.ScrollBox.Style.TStyledCustomScrollBox.AfterPaint
Delphi
procedure AfterPaint; override;
C++
virtual void __fastcall AfterPaint(void);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
protected | FMX.ScrollBox.Style.pas FMX.ScrollBox.Style.hpp |
FMX.ScrollBox.Style | TStyledCustomScrollBox |
Description
Restores Canvas properties after the painting process. {{#multireplace:FMX.ScrollBox.Style.TStyledCustomScrollBox.AfterPaint|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FMX.Controls.TControl.AfterPaint|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.AfterPaint|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Restores Canvas properties after the painting process.
As implemented in TControl, AfterPaint does nothing.
TShape descendants of TControl override AfterPaint to restore StrokeDash and StrokeThickness to default values.