private void RefreshBloodDonors() { // This code refreshes the entries in the list view be querying the BloodDonors table. // The query excludes completed BloodDonors donors = bloodDonorTable //.Where(bloodDonor => bloodDonor.NevenDonated == false) .ToCollectionView(); }
public SearchDonorDetails() { this.InitializeComponent(); this.DataContext = new RegisterDonorViewModel(); //donnerList.ItemsSource = App.MobileService.GetTable<BloodDonors>(); items = donorTableList.ToCollectionView(); donorList.ItemsSource = items; }
private void RefreshTodoItems() { // This code refreshes the entries in the list view be querying the TodoItems table. // REMOVED the filter on completed items, so they're all dislpayed items = todoTable //.Where(todoItem => todoItem.Complete == false) .ToCollectionView(); ListItems.ItemsSource = items; }