Vcl.Controls.TWinControl.ParentBackground
Delphi
property ParentBackground: Boolean read GetParentBackground write SetParentBackground;
C++
__property bool ParentBackground = {read=GetParentBackground, write=SetParentBackground, nodefault};
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
property | protected | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TWinControl |
Description
Détermine si le contrôle utilise l'arrière-plan de thème de son parent.
Si ParentBackground vaut True, le contrôle barre d'outils d'action utilise l'arrière-plan de thème du parent pour dessiner son propre arrière-plan.
Si ParentBackground vaut False, le contrôle utilise ses propres propriétés, telles que Color, pour dessiner son arrière-plan.
ParentBackground est sans effet à moins que les thèmes XP ne soient activés.