我该如何对WPF DataGrid进行排序 [英] How can I sort WPF DataGrid

查看:1022
本文介绍了我该如何对WPF DataGrid进行排序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hy
我的WPF DataGrid有三个cilumns。排名,名称和价值。

我想按Rank排序这个DataGrid。

我该怎么办?

请求帮我

Hy My WPF DataGrid have three cilumns . Rank , Name and Value .
I want to sort this DataGrid by Rank .
How can I this ?
pleas help me

推荐答案

http:// stackoverflow。 com / questions / 1627149 / pre-sorting-a-datagrid-in-wpf [ ^ ]

http://dotnetgui.blogspot.com/2011/02/how-to-properly-sort-on-wpf-datagrid.html [ ^ ]

http://wpftutorial.net/DataGrid.html#columnFeatures [ ^ ]

http://social.msdn.microsoft.com/Forums/en/wpf/thread/5d3942c8-e3e1-4284-b1b3-0b8b94150d86 [ ^ ]
http://stackoverflow.com/questions/1627149/pre-sorting-a-datagrid-in-wpf[^]
http://dotnetgui.blogspot.com/2011/02/how-to-properly-sort-on-wpf-datagrid.html[^]
http://wpftutorial.net/DataGrid.html#columnFeatures[^]
http://social.msdn.microsoft.com/Forums/en/wpf/thread/5d3942c8-e3e1-4284-b1b3-0b8b94150d86[^]


这篇关于我该如何对WPF DataGrid进行排序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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