Silverlight 和 icollectionview [英] Silverlight and icollectionview

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

问题描述

所以我有一个数据网格,我需要为其添加自定义排序,而且我还需要知道排序的确切顺序.

So I have a datagrid that I need to add custom sorting for and I also need to know the exact order of the sort.

我读过为了做到这一点,我需要实现一个自定义 icollectionview 并将其绑定到数据网格.

I have read in order to do this I need to implement a custom icollectionview and bind it to the datagrid.

我遇到的问题是 Microsoft 在此界面上提供的文档不是很好.有谁知道如何做到这一点或有关于如何为 Silverlight 实现此接口的任何好的教程?

The problem I am having is that the documentation Microsoft gives on this interface is not that great. Does anyone know how to do this or have any good tutorials on how to implement this interface for silverlight?

推荐答案

我也在找同样的,从 Colin Eberhardt.它展示了如何使用 ICollectionView 的实现来实现排序

I'm looking for the same, and found this article from Colin Eberhardt. It shows how to implement sorting using an implementation of ICollectionView

如果您知道如何实现过滤,请告诉我.

If you figure out how to implement filtering, please let me know.

这篇关于Silverlight 和 icollectionview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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