void CreateGroups() { Groups = PeopleGroup.CreateGroups( favoritesRepository.GetAll(), groupByLastName); OnPropertyChanged("Groups"); }
void CreateGroups() { People = new ObservableCollection <Person> (favoritesRepository.GetAll()); Groups = PeopleGroup.CreateGroups( favoritesRepository.GetAll(), groupByLastName); OnPropertyChanged("Groups"); }
/// <summary> /// Groups people by the initial letter of their last name /// </summary> private void SetGroupedPeople() { Groups = PeopleGroup.CreateGroups(search.Results, groupByLastName); OnPropertyChanged("Groups"); }
/// <summary> /// Groups people by the initial letter of their last name /// </summary> private void SetGroupedPeople() { Groups = PeopleGroup.CreateGroups(search.Results, search.Property != SearchProperty.Wichtig); OnPropertyChanged("Groups"); }