BCGControlBar Library for .NET
OnDrawBackground Method (Toolbar)




A Graphics to draw a background.
Called by the framework on redrawing of the toolbar. Fills its background.
Syntax
'Declaration
 
Public Overrides Sub OnDrawBackground( _
   ByVal grph As Graphics _
) 
'Usage
 
Dim instance As Toolbar
Dim grph As Graphics
 
instance.OnDrawBackground(grph)
public override void OnDrawBackground( 
   Graphics grph
)
public: void OnDrawBackground( 
   Graphics* grph
) override 
public:
void OnDrawBackground( 
   Graphics^ grph
) override 

Parameters

grph
A Graphics to draw a background.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Toolbar Class
Toolbar Members
Base Implementation in OnDrawBackground

Send Feedback