BCGControlBar Library for .NET
CopyHandlers(ToolbarButton,Boolean) Method




The ToolBarButton instance to copy handlers.

If true, only handlers are copied, otherwise handlers, identifier and text are copied.
Copies event handlers from the specified ToolBarButton to this button.
Syntax
'Declaration
 
Public Overloads Overridable Sub CopyHandlers( _
   ByVal src As ToolbarButton, _
   ByVal handlersOnly As Boolean _
) 
'Usage
 
Dim instance As ToolbarButton
Dim src As ToolbarButton
Dim handlersOnly As Boolean
 
instance.CopyHandlers(src, handlersOnly)
public virtual void CopyHandlers( 
   ToolbarButton src,
   bool handlersOnly
)
public: virtual void CopyHandlers( 
   ToolbarButton* src,
   bool handlersOnly
) 
public:
virtual void CopyHandlers( 
   ToolbarButton^ src,
   bool handlersOnly
) 

Parameters

src

The ToolBarButton instance to copy handlers.

handlersOnly
If true, only handlers are copied, otherwise handlers, identifier and text are copied.
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
Overload List

Send Feedback