Vcl.RibbonActnCtrls.TRibbonDropDownButton.DrawBackground
Delphi
procedure DrawBackground(var PaintRect: TRect); override;
C++
virtual void __fastcall DrawBackground(System::Types::TRect &PaintRect);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
protected | Vcl.RibbonActnCtrls.pas Vcl.RibbonActnCtrls.hpp |
Vcl.RibbonActnCtrls | TRibbonDropDownButton |
Description
Draws the background of the control.
The DrawBackground method draws the background of the control within the area specified by PaintRect, considering factors like size and the mouse control. DrawBackground also calls the DrawArrow method.