AddTextBoxTool(String,String,Image,String,String,Boolean) Method
Create and add a new TextBoxTool object to the RootToolsCollection.
Syntax
Parameters
- key
- Unique key in the RootToolsCollection.
- text
- Caption for the tool.
- image
- Icon for the tool.
- val
- Textual value to be displayed in the tool.
- commandId
- Identifier of command which the tool is associated with.
- fromXml
- true to from XML.
Return Value
A TextBoxTool.
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