BCGControlBar Library for .NET
OnDrawCustomizeSelection Method




A Graphic to draw on.
A boundaries of the ToolBarButton to draw a selection.
Draws a rectangle border at the toolbar button in Customize mode.
Syntax
'Declaration
 
Public Overridable Sub OnDrawCustomizeSelection( _
   ByVal grph As Graphics, _
   ByVal rect As Rectangle _
) 
'Usage
 
Dim instance As ToolbarButton
Dim grph As Graphics
Dim rect As Rectangle
 
instance.OnDrawCustomizeSelection(grph, rect)
public virtual void OnDrawCustomizeSelection( 
   Graphics grph,
   Rectangle rect
)
public: virtual void OnDrawCustomizeSelection( 
   Graphics* grph,
   Rectangle rect
) 
public:
virtual void OnDrawCustomizeSelection( 
   Graphics^ grph,
   Rectangle rect
) 

Parameters

grph
A Graphic to draw on.
rect
A boundaries of the ToolBarButton to draw a selection.
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