//Populating the DataGrid with the Books in the UserBook Class private void BooksIntoDataGrid() { var _itemSourceList = new CollectionViewSource() { Source = dynamoDbOperation.GetBooks(username) }; ICollectionView Itemlist = _itemSourceList.View; bookShelfDataGrid.ItemsSource = Itemlist; }