Method SetToolCommand
SetToolCommand(ObjectUniqueId, ICommand?, object?)
Sets command and command parameters for the item.
public virtual void SetToolCommand(ObjectUniqueId id, ICommand? command = null, object? commandParameter = null)
Parameters
id
ObjectUniqueIdItem id.
command
ICommandA command that will be executed when tool is clicked.
commandParameter
objectA parameter that will be passed to the command when executing it.