public DashboardViewModel(IDashboardModel model) { this.model = model; model.PropertyChanged += delegate (object sender, PropertyChangedEventArgs e) { NotifyPropertyChanged("Vm" + e.PropertyName); }; }
public DashboardViewModel(IDashboardModel dashboardModel) { _dashboardModel = dashboardModel; WorkItemsButtonCommand = new RelayCommand(OnWorkItemsButtonCommand); }