API:Vcl.ActnMenus.TActionMainMenuBar.ParentBackground
Delphi
property ParentBackground default False;
C++
__property ParentBackground = {default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.ActnMenus.pas Vcl.ActnMenus.hpp |
Vcl.ActnMenus | TActionMainMenuBar |
Description
Determines whether the control uses its parent's theme background.
Vcl.ActnMenus.TActionMainMenuBar.ParentBackground inherits from Vcl.Controls.TWinControl.ParentBackground. All content below this line refers to Vcl.Controls.TWinControl.ParentBackground.
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.