BCGControlBar Library for .NET
ButtonFromID(Int32,Boolean,Boolean,Boolean) Method




Syntax
'Declaration
 
Public Overloads Overridable Function ButtonFromID( _
   ByVal id As Integer, _
   ByVal originalState As Boolean, _
   ByVal withExecuteHandler As Boolean, _
   ByVal recirsive As Boolean _
) As ToolbarButton
'Usage
 
Dim instance As CommandBar
Dim id As Integer
Dim originalState As Boolean
Dim withExecuteHandler As Boolean
Dim recirsive As Boolean
Dim value As ToolbarButton
 
value = instance.ButtonFromID(id, originalState, withExecuteHandler, recirsive)
public virtual ToolbarButton ButtonFromID( 
   int id,
   bool originalState,
   bool withExecuteHandler,
   bool recirsive
)
public: virtual ToolbarButton* ButtonFromID( 
   int id,
   bool originalState,
   bool withExecuteHandler,
   bool recirsive
) 
public:
virtual ToolbarButton^ ButtonFromID( 
   int id,
   bool originalState,
   bool withExecuteHandler,
   bool recirsive
) 

Parameters

id
originalState
withExecuteHandler
recirsive
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