Example #1
0
 private void PresentitiesProxy_CollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
 {
     if (PresentitiesView != null)
     {
         using (PresentitiesView.DeferRefresh()) { }
     }
     ;
 }
Example #2
0
 private void UpdateSorting()
 {
     using (PresentitiesView.DeferRefresh())
     {
         PresentitiesView.SortDescriptions.Clear();
         if (this.IsShowGroups)
         {
             PresentitiesView.SortDescriptions.Add(new SortDescription(PropertyName.Group, ListSortDirection.Ascending));
         }
         PresentitiesView.SortDescriptions.Add(new SortDescription(PropertyName.DisplayNameOrAor, ListSortDirection.Ascending));
     }
 }