Common Application Framework

RootToolsCollection.AddMenuTool Method (String, String, Image, String)

Create and add a new MenuTool object to the RootToolsCollection.

public abstract MenuTool AddMenuTool(
   string key,
   string text,
   Image image,
   string commandId
);

Parameters

key
Unique key in the RootToolsCollection.
text
Caption for the tool.
image
Icon for the tool.
commandId
Identifier of command which the tool is associated with.

See Also

RootToolsCollection Class | Aveva.ApplicationFramework.Presentation Namespace | RootToolsCollection.AddMenuTool Overload List