示例#1
0
 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");
 }
示例#3
0
 /// <summary>
 /// Groups people by the initial letter of their last name
 /// </summary>
 private void SetGroupedPeople()
 {
     Groups = PeopleGroup.CreateGroups(search.Results, groupByLastName);
     OnPropertyChanged("Groups");
 }
示例#4
0
 /// <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");
 }