如何过滤ObservableCollection? [英] How to Filter ObservableCollection ?

查看:206
本文介绍了如何过滤ObservableCollection?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


在OLD数据集日,我们让DataView过滤并显示网格中的内容。这里任何更改都会影响作为数据集的基础对象。 


在UWP中使用&ObservableCollection的等效方法是什么?   


很想看到一些易于遵循且不太复杂的样本。


问候


解决方案

您好,您可能想尝试UWP社区工具包中的AdvancedCollectionView:

https://docs.microsoft.com/en-us/windows/uwpcommunitytoolkit/helpers/advancedcollectionview

Hi,

In OLD Dataset days we had DataView to filter and display content in grids, Here any changes effects the underlying object that is dataset. 

What is equivalent way to do in UWP using ObservableCollection ?   

Would love to see some sample that is easy to follow and not too complex.

Regards

解决方案

Hi, you may want to try the AdvancedCollectionView from the UWP Community Toolkit: https://docs.microsoft.com/en-us/windows/uwpcommunitytoolkit/helpers/advancedcollectionview


这篇关于如何过滤ObservableCollection?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆