Common Application Framework

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

Create and add a new ButtonTool object to the RootToolsCollection.

public abstract ButtonTool AddButtonTool(
   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.AddButtonTool Overload List