Common Application Framework

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

Create and add a new StateButtonTool object to the RootToolsCollection.

public abstract StateButtonTool AddStateButtonTool(
   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.AddStateButtonTool Overload List