예제 #1
0
 private void PresentitiesProxy_CollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
 {
     if (PresentitiesView != null)
     {
         using (PresentitiesView.DeferRefresh()) { }
     }
     ;
 }
예제 #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));
     }
 }