阅读背景:

WPF - 按多列排序时使用自定义比较器

来源:互联网 

I have a ListView (GridView) that I want to sort by 2 columns, so if 2+ items have the same value in Column 1, it sorts by Column 2. Pretty easy. But empty strings show up at the top when sorting A-Z. I'd like to move them to the bottom. I made a comparer (IComparer) that takes care of this, but I'm not sure how to use it.I have a ListView (GridView) that I want to sor




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: