Common Application Framework

CommandBarsCollection.AddCommandBar Method (String, Command)

Create and add to the CommandBarCollection a new CommandBar with given Key and associated Command.

public abstract CommandBar AddCommandBar(
   string key,
   Command command
);

Parameters

key
CommandBar key
command
Command associated with the CommandBar

Return Value

See Also

CommandBarsCollection Class | Aveva.ApplicationFramework.Presentation Namespace | CommandBarsCollection.AddCommandBar Overload List