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




A Graphics to draw on.
Specifies boundaries of the area to redraw
Redraws a CommandPanel and its objects at the specified area.
Syntax
'Declaration
 
Public Overloads Overridable Sub OnDraw( _
   ByVal grph As Graphics, _
   ByVal clipRect As Rectangle _
) 
'Usage
 
Dim instance As CommandPanel
Dim grph As Graphics
Dim clipRect As Rectangle
 
instance.OnDraw(grph, clipRect)
public virtual void OnDraw( 
   Graphics grph,
   Rectangle clipRect
)
public: virtual void OnDraw( 
   Graphics* grph,
   Rectangle clipRect
) 
public:
virtual void OnDraw( 
   Graphics^ grph,
   Rectangle clipRect
) 

Parameters

grph
A Graphics to draw on.
clipRect
Specifies boundaries of the 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

CommandPanel Class
CommandPanel Members
Overload List

Send Feedback