Vcl.Themes.TStyleHook.PaintBackground
Delphi
procedure PaintBackground(Canvas: TCanvas); virtual;
C++
virtual void __fastcall PaintBackground(Vcl::Graphics::TCanvas* Canvas);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
class protected | Vcl.Themes.pas Vcl.Themes.hpp |
Vcl.Themes | TStyleHook |
Description
Paints the background of the control.
PaintBackground fills the control area with the currently selected brush color.
Override this method if your control has transparent parts and you need to paint the parent background.