积极答复者
SemanticZoom控件绑定数据源后UI的及时刷新

问题
-
用SemanticZoom控件实现了语义缩放效果,数据源实现了INotifyPropertyChanged接口,删除列表的某一项的话,可以成功删除,但是无法在UI上及时显示,必须重新打开这个页面UI才会更新。请问如何实现UI的及时更新?谢谢!
myWordList = new ObservableCollection<WordItem>(); foreach(XElement item in items) { WordItem words = new WordItem(); words.Key = item.Element(XName.Get("key")).Value; words.Ps = item.Element(XName.Get("ps")).Value; words.Acception = item.Element(XName.Get("acceptation")).Value; words.Time = item.Element(XName.Get("time")).Value; myWordList.Add(words); } List<WordGroup> Items = (from item in myWordList group item by item.Time into newitems select new WordGroup { TimeTitle = newitems.Key, WordItemContent = myWordList.ToList() }).ToList(); CollectionViewSource ListWordSource = new CollectionViewSource(); ListWordSource.IsSourceGrouped = true; ListWordSource.Source = Items; ListWordSource.ItemsPath = new PropertyPath("WordItemContent"); outView.ItemsSource = ListWordSource.View.CollectionGroups; inView.ItemsSource = ListWordSource.View;
www.bcmeng.com