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