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




A Graphics to draw the RibbonStatusBar on.
The boundaries of the RibbonStatusBar to draw.
Fills the background of the RibbonStatusBar control and draws object located within it.
Syntax
'Declaration
 
Public Overloads Overrides Sub OnDraw( _
   ByVal grph As Graphics, _
   ByVal rect As Rectangle _
) 
'Usage
 
Dim instance As RibbonStatusBar
Dim grph As Graphics
Dim rect As Rectangle
 
instance.OnDraw(grph, rect)
public override void OnDraw( 
   Graphics grph,
   Rectangle rect
)
public: void OnDraw( 
   Graphics* grph,
   Rectangle rect
) override 
public:
void OnDraw( 
   Graphics^ grph,
   Rectangle rect
) override 

Parameters

grph
A Graphics to draw the RibbonStatusBar on.
rect
The boundaries of the RibbonStatusBar to draw.
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

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

Send Feedback