BCGControlBar Library for .NET
OnDrawBackground Method (CommandBar)




A graphics to draw on.
Called by the framework to draw the boundaries and fill the interior of the command bar.
Syntax
'Declaration
 
Public Overridable Sub OnDrawBackground( _
   ByVal grph As Graphics _
) 
'Usage
 
Dim instance As CommandBar
Dim grph As Graphics
 
instance.OnDrawBackground(grph)
public virtual void OnDrawBackground( 
   Graphics grph
)
public: virtual void OnDrawBackground( 
   Graphics* grph
) 
public:
virtual void OnDrawBackground( 
   Graphics^ grph
) 

Parameters

grph
A graphics to draw on.
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

CommandBar Class
CommandBar Members

Send Feedback