public void ShowContext(ItemViewModel item) { ICommand command = item.ContextCommand; if (command != null) command.Execute(); }
public void SelectItem(ItemViewModel item) { ICommand command = item.Command; if (command != null) command.Execute(); }