Thanks for the response. I'm not sure I fully understand but I have my Command setup as public within my ViewModel as:
public NavigationBarViewModel(IUnityContainer container, IRegionManager regionManager, IEventAggregator eventAggregator)//, IConnectionBarController controller)
I',m not sure what you mean by making it a property of the DataTemplate. Obviously my ViewModel is the BindingSource of the View.
this.container = container;
this.regionManager = regionManager;
this.eventAggregator = eventAggregator;
//Controller = controller;
NavigationBarClickCommand = new DelegateCommand<string>(OnButtonClick);//, CanButtonClick);