Esempio n. 1
0
 public ICommandBar AddCommand(string displayName, ICommand command, object commandParameter)
 {
     CommandModel commandMenuItem = new CommandModel();
     commandMenuItem.Content = displayName;
     commandMenuItem.Command = command;
     commandMenuItem.CommandParameter = commandParameter;
     _items.Add(commandMenuItem);
     return this;
 }
Esempio n. 2
0
 public ICommandBar AddCommand(CommandModel commandPresentation)
 {
     _items.Add(commandPresentation);
     return(this);
 }
Esempio n. 3
0
 public ICommandBar AddCommand(CommandModel commandPresentation)
 {
     return(_commandBar.AddCommand(commandPresentation));
 }
Esempio n. 4
0
 public ICommandBar AddCommand(CommandModel commandPresentation)
 {
     _items.Add(commandPresentation);
     return this;
 }
Esempio n. 5
0
 public ICommandBar AddCommand(CommandModel commandPresentation)
 {
     return _commandBar.AddCommand(commandPresentation);
 }