BCGSoft.ControlBars Namespace > CommandBar Class > ButtonFromID Method : ButtonFromID(Int32,Boolean,Boolean) Method |
'Declaration Public Overloads Overridable Function ButtonFromID( _ ByVal id As Integer, _ ByVal originalState As Boolean, _ ByVal withExecuteHandler As Boolean _ ) As ToolbarButton
'Usage Dim instance As CommandBar Dim id As Integer Dim originalState As Boolean Dim withExecuteHandler As Boolean Dim value As ToolbarButton value = instance.ButtonFromID(id, originalState, withExecuteHandler)
public virtual ToolbarButton ButtonFromID( int id, bool originalState, bool withExecuteHandler )
public: virtual ToolbarButton* ButtonFromID( int id, bool originalState, bool withExecuteHandler )
public: virtual ToolbarButton^ ButtonFromID( int id, bool originalState, bool withExecuteHandler )
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