BCGControlBar Library for .NET
OnDraw Method (ICommandObject)




Graphics context.
Bounding rectangle.
Renders the obect within provided bounding rectange on the specifies Graphics context.
Syntax
'Declaration
 
Sub OnDraw( _
   ByVal graphics As Graphics, _
   ByVal rect As Rectangle _
) 
'Usage
 
Dim instance As ICommandObject
Dim graphics As Graphics
Dim rect As Rectangle
 
instance.OnDraw(graphics, rect)
void OnDraw( 
   Graphics graphics,
   Rectangle rect
)
void OnDraw( 
   Graphics* graphics,
   Rectangle rect
) 
void OnDraw( 
   Graphics^ graphics,
   Rectangle rect
) 

Parameters

graphics
Graphics context.
rect
Bounding rectangle.
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

ICommandObject Interface
ICommandObject Members

Send Feedback