public void OnItemClicked(BookShelfViewModels.IItemViewModel vm) { if (ItemClicked != null) ItemClicked(this, new ItemClickedEventArgs() { SelectedItem = vm }); }
private void SetBookShelfModel(BookShelfViewModels.BookViewModel ViewModel) { (this.DataContext as BookFixed2ViewModels.BookViewModel).AsBookShelfBook = ViewModel; }