我尝试过:
Persons = from i in Persons orderby i.Age select i;
但我无法将Linq的System.Linq.IOrderedEnumerable
转换为ObservableCollection<Person>
。
我尝试过:
Persons = from i in Persons orderby i.Age select i;
但我无法将Linq的System.Linq.IOrderedEnumerable
转换为ObservableCollection<Person>
。
ObservableCollection
的任何绑定。 - David S.IPropertyNotifyChanged
接口并且集合属性被正确设置,那么这不应该是一个问题。 - PhonicUKObservableCollection
就没有任何意义了。 - geniusburger