public StudentMasterDetailsViewModel()
 {
     _studentCollection            = new StudentCollection();
     _studentMasterViewModel       = new StudentMasterViewModel();
     _deleteCommand                = new RelayCommand(DoDelete, CanDelete); // Changed
     _studentItemViewModelSelected = null;
 }
Exemple #2
0
 public StudentMasterDetailsViewModel()
 {
     _studentCollection            = new StudentCollection();
     _studentMasterViewModel       = new StudentMasterViewModel();
     _deleteCommand                = null; // This needs to be changed
     _studentItemViewModelSelected = null;
 }