Vcl.RibbonActnCtrls.TRibbonSplitMenuItem.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 | TRibbonSplitMenuItem |
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 the action bar, the mouse control, and which button is active (the main button or the split button).