BCGControlBar Library for .NET
OnDrawDesign Method (ToolbarMenuButton)




A graphics to draw.
The boundaries of the ToolbarMenuButton to draw.
Redraws a menu button in design mode
Syntax
'Declaration
 
Public Overrides Sub OnDrawDesign( _
   ByVal graphics As Graphics, _
   ByVal rect As Rectangle _
) 
'Usage
 
Dim instance As ToolbarMenuButton
Dim graphics As Graphics
Dim rect As Rectangle
 
instance.OnDrawDesign(graphics, rect)
public override void OnDrawDesign( 
   Graphics graphics,
   Rectangle rect
)
public: void OnDrawDesign( 
   Graphics* graphics,
   Rectangle rect
) override 
public:
void OnDrawDesign( 
   Graphics^ graphics,
   Rectangle rect
) override 

Parameters

graphics
A graphics to draw.
rect
The boundaries of the ToolbarMenuButton 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

ToolbarMenuButton Class
ToolbarMenuButton Members
Base Implementation in OnDrawDesign

Send Feedback