private void NotifySelectedItemsChanged()
 {
     NotifyPropertyChanged(ItemArgs);
     NotifyPropertyChanged(SelectedItemsArgs);
     _selectCommand.Invalidate();
     _unselectCommand.Invalidate();
 }
Beispiel #2
0
 private void HandleProgressItemChanged(object sender, PropertyChangedEventArgs e)
 {
     if (e.Match <IProgressItemViewModel>(v => v.State) || e.Match <IProgressItemViewModel>(v => v.TimeElapsed))
     {
         _dispatcher.CheckedInvoke(() =>
         {
             _pauseCmd.Invalidate();
             _resumeCmd.Invalidate();
         });
     }
 }