BCGControlBar Library for .NET
DrawMenuItem Method (ToolbarLabelButton)




The graphics to draw on.
The boundaries of the ToolbarLabelButton to draw on.
The image associated with the ToolbarLabelButton to draw.
Called by the framework to draw the ToolbarLabelButton in the popup menu.
Syntax
'Declaration
 
Public Overrides Sub DrawMenuItem( _
   ByVal graphics As Graphics, _
   ByVal rect As Rectangle, _
   ByVal image As Image _
) 
'Usage
 
Dim instance As ToolbarLabelButton
Dim graphics As Graphics
Dim rect As Rectangle
Dim image As Image
 
instance.DrawMenuItem(graphics, rect, image)
public override void DrawMenuItem( 
   Graphics graphics,
   Rectangle rect,
   Image image
)
public: void DrawMenuItem( 
   Graphics* graphics,
   Rectangle rect,
   Image* image
) override 
public:
void DrawMenuItem( 
   Graphics^ graphics,
   Rectangle rect,
   Image^ image
) override 

Parameters

graphics
The graphics to draw on.
rect
The boundaries of the ToolbarLabelButton to draw on.
image
The image associated with the ToolbarLabelButton 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

ToolbarLabelButton Class
ToolbarLabelButton Members
Base Implementation in DrawMenuItem

Send Feedback