BCGControlBar Library for .NET
OnDraw(Graphics,Rectangle) Method




A graphics to draw on
A rectangle area to redraw.
Draws the interior of the command bar.
Syntax
'Declaration
 
Public Overloads Overrides Sub OnDraw( _
   ByVal grph As Graphics, _
   ByVal clipRect As Rectangle _
) 
'Usage
 
Dim instance As CommandBar
Dim grph As Graphics
Dim clipRect As Rectangle
 
instance.OnDraw(grph, clipRect)
public override void OnDraw( 
   Graphics grph,
   Rectangle clipRect
)
public: void OnDraw( 
   Graphics* grph,
   Rectangle clipRect
) override 
public:
void OnDraw( 
   Graphics^ grph,
   Rectangle clipRect
) override 

Parameters

grph
A graphics to draw on
clipRect
A rectangle area to redraw.
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
Overload List
Base Implementation in OnDraw(Graphics,Rectangle)

Send Feedback