摘要: 查了下资料,LISTBOX不带排序功能,所以要从数据源入手,自己实现一个List的Sort方法,主要就是那个icomparer接口的实现。原文在这里下面是测试代码,只是简单的对INT进行排序,把那篇文章的内容简化了。熟悉下最基本的实现。 1 <UserControl x:Class="SL.ListboxSort.MainPage" 2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 3 xmlns:x="http://schemas.microsoft. 阅读全文
posted @ 2012-04-23 18:02 保安保安 阅读(745) 评论(1) 推荐(1) 编辑