コード例 #1
0
 public AddNumberToSelectedBook(BookViewModel vm, int i)
 {
     vm.PropertyChanged += (s, e) => { OnCanExecuteChanged(); };
     ViewModel = vm;
     NumberToAdd = i;
 }
コード例 #2
0
 public AddCurrentPageToBookmark(BookViewModel model) { this.model = model; model.PropertyChanged += (s, e) => { if (e.PropertyName == nameof(model.PageSelected)) { OnCanExecuteChanged(); } }; }
コード例 #3
0
 public PageVisualMaxCommand(BookViewModel model) { this.model = model; }