标签:observablecollection
-
UWP / C#:ObservableCollection就地排序(不滚动) - c#
在UWP应用中,我正在尝试对绑定到ObservableCollection的ListView进行排序-因此,collection.OrderBy(..)(创建新集合)不是一种选择。 到目前为止,我一直使用此扩展方法: public static void Sort<TSource, TKey>(this ObservableCollection& […]
-
将linq查询转换为ObservableCollection - c#
这是我试图将数据网格绑定到的代码: var query = (from s in entity.Sources where s.CorporationId == corporationId select new SourceItem { CorporationId = s.CorporationId, Description=s.Description, I […]
-
如何通过join加速此LINQ查询? - c#
我有两个对象模型集合,我正在针对每个属性比较它们的不平等性。 ObservableCollection<LayerModel> SourceDrawingLayers ...和: ObservableCollection<LayerModel> TargetDrawingLayers 我在一般情况下创建非等分LINQ查询方面收到了很好 […]