BCGControlBar Library for .NET
OnDrawInterior Method




A graphics to draw on.
Specifies the boundaries of the button to redraw.
Specifies the color of the text to draw on the button.
Draws image, text, boundaries, highligting, etc. on the surface of the ToolbarButton.
Syntax
'Declaration
 
Public Overridable Sub OnDrawInterior( _
   ByVal graphics As Graphics, _
   ByVal rect As Rectangle, _
   ByVal colorText As Color _
) 
'Usage
 
Dim instance As ToolbarButton
Dim graphics As Graphics
Dim rect As Rectangle
Dim colorText As Color
 
instance.OnDrawInterior(graphics, rect, colorText)
public virtual void OnDrawInterior( 
   Graphics graphics,
   Rectangle rect,
   Color colorText
)
public: virtual void OnDrawInterior( 
   Graphics* graphics,
   Rectangle rect,
   Color colorText
) 
public:
virtual void OnDrawInterior( 
   Graphics^ graphics,
   Rectangle rect,
   Color colorText
) 

Parameters

graphics
A graphics to draw on.
rect
Specifies the boundaries of the button to redraw.
colorText
Specifies the color of the text to draw on the button.
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

ToolbarButton Class
ToolbarButton Members

Send Feedback