API:Vcl.RibbonActnCtrls.TRibbonApplicationMenuItem.DrawSelectedBackground
Delphi
procedure DrawSelectedBackground(ARect: TRect); override;
C++
virtual void __fastcall DrawSelectedBackground(const System::Types::TRect &ARect);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
protected | Vcl.RibbonActnCtrls.pas Vcl.RibbonActnCtrls.hpp |
Vcl.RibbonActnCtrls | TRibbonApplicationMenuItem |
Description
Draws the background of a control that is selected.
Vcl.RibbonActnCtrls.TRibbonApplicationMenuItem.DrawSelectedBackground inherits from Vcl.RibbonActnCtrls.TRibbonMenuItem.DrawSelectedBackground. All content below this line refers to Vcl.RibbonActnCtrls.TRibbonMenuItem.DrawSelectedBackground.
Draws the background of a control that is selected.
The DrawSelectedBackground method draws the background of a selected control (for example, a TRibbonComboBoxItem) within the area specified by PaintRect.