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




Syntax
'Declaration
 
Public Overloads Overrides Function ButtonFromID( _
   ByVal id As Integer, _
   ByVal originalState As Boolean, _
   ByVal withExecuteHandler As Boolean, _
   ByVal recursive As Boolean _
) As ToolbarButton
'Usage
 
Dim instance As Toolbar
Dim id As Integer
Dim originalState As Boolean
Dim withExecuteHandler As Boolean
Dim recursive As Boolean
Dim value As ToolbarButton
 
value = instance.ButtonFromID(id, originalState, withExecuteHandler, recursive)
public override ToolbarButton ButtonFromID( 
   int id,
   bool originalState,
   bool withExecuteHandler,
   bool recursive
)
public: ToolbarButton* ButtonFromID( 
   int id,
   bool originalState,
   bool withExecuteHandler,
   bool recursive
) override 
public:
ToolbarButton^ ButtonFromID( 
   int id,
   bool originalState,
   bool withExecuteHandler,
   bool recursive
) override 

Parameters

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

Toolbar Class
Toolbar Members
Overload List
Base Implementation in ButtonFromID(Int32,Boolean,Boolean,Boolean)

Send Feedback