BCGControlBar Library for .NET
OnDraw Method (ToolbarComboBoxButton)




The graphics to draw on.

A Rectangle structure that represents the rectangle to draw.

This function performs the actual drawing of the toolbar button.
Syntax
'Declaration
 
Public Overrides Sub OnDraw( _
   ByVal graphics As Graphics, _
   ByVal rect As Rectangle _
) 
'Usage
 
Dim instance As ToolbarComboBoxButton
Dim graphics As Graphics
Dim rect As Rectangle
 
instance.OnDraw(graphics, rect)
public override void OnDraw( 
   Graphics graphics,
   Rectangle rect
)
public: void OnDraw( 
   Graphics* graphics,
   Rectangle rect
) override 
public:
void OnDraw( 
   Graphics^ graphics,
   Rectangle rect
) override 

Parameters

graphics
The graphics to draw on.
rect

A Rectangle structure that represents the rectangle 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

ToolbarComboBoxButton Class
ToolbarComboBoxButton Members
Base Implementation in OnDraw

Send Feedback