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




A Graphics to draw on.
The boundaries of the ColorPanel to redraw.
Represents  an actual drawing of the color panel.
Syntax
'Declaration
 
Public Overloads Overrides Sub OnDraw( _
   ByVal grph As Graphics, _
   ByVal clipRect As Rectangle _
) 
'Usage
 
Dim instance As ColorPanel
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
The boundaries of the ColorPanel 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

ColorPanel Class
ColorPanel Members
Overload List
Base Implementation in OnDraw(Graphics,Rectangle)

Send Feedback