Vcl.Controls.TWinControl.ParentBackground

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ParentBackground: Boolean read GetParentBackground write SetParentBackground;

C++

__property bool ParentBackground = {read=GetParentBackground, write=SetParentBackground, nodefault};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TWinControl

Description

Determines whether the control uses its parent's theme background.

If ParentBackground is True, the control uses the parent's theme background to draw its own background.

If ParentBackground is False, the control uses its own properties, such as Color, to draw its background.

ParentBackground has no effect unless XP themes are enabled.