Vcl.XPActnCtrls.TXPStyleMenuItem.DrawBackground

From RAD Studio API Documentation

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.XPActnCtrls.pas
Vcl.XPActnCtrls.hpp
Vcl.XPActnCtrls TXPStyleMenuItem

Description

Draws a background image on the control. {{#multireplace:Vcl.XPActnCtrls.TXPStyleMenuItem.DrawBackground|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.ActnMan.TCustomActionControl.DrawBackground|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.ActnMan.TCustomActionControl.DrawBackground|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Draws a background image on the control.

Use DrawBackground to draw a background image on the control within the area specified by PaintRect.

See Also