AVEVA CAF API Documenation

Aveva.ApplicationFramework.Presentation Namespace > RootToolsCollection Class > AddComboBoxTool Method : AddComboBoxTool(String,String,Image,Command,Boolean) Method
Unique key in the RootToolsCollection.
Caption for the tool.
Icon for the tool.
Command which the tool is associated with.
true to from XML.
AddComboBoxTool(String,String,Image,Command,Boolean) Method
Create and add a new ComboBoxTool object to the RootToolsCollection.
Syntax
public abstract ComboBoxTool AddComboBoxTool( 
   string key,
   string text,
   Image image,
   Command command,
   bool fromXml
)
public:
abstract ComboBoxTool^ AddComboBoxTool( 
   String^ key,
   String^ text,
   Image^ image,
   Command^ command,
   bool fromXml
) 

Parameters

key
Unique key in the RootToolsCollection.
text
Caption for the tool.
image
Icon for the tool.
command
Command which the tool is associated with.
fromXml
true to from XML.

Return Value

A ComboBoxTool.
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