BCGControlBar Library for .NET
RemoveButton(ToolbarButton) Method




A toolbar button to remove from the command bar.
Removes a specified toolbar button from the command bar.
Syntax
'Declaration
 
Public Overloads Overridable Function RemoveButton( _
   ByVal button As ToolbarButton _
) As Boolean
'Usage
 
Dim instance As CommandBar
Dim button As ToolbarButton
Dim value As Boolean
 
value = instance.RemoveButton(button)
public virtual bool RemoveButton( 
   ToolbarButton button
)
public: virtual bool RemoveButton( 
   ToolbarButton* button
) 
public:
virtual bool RemoveButton( 
   ToolbarButton^ button
) 

Parameters

button
A toolbar button to remove from the command bar.
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

CommandBar Class
CommandBar Members
Overload List

Send Feedback