«« Next » « Previous
«« Next » « Previous

Link Details

Link 80406 thumbnail

By bloid
via codeproject.com
Submitted: May 11 / 13:15

By default there is no easy way of sorting a ListView in WPF. While there is a sample available on MSDN on how to sort a ListView it isn’t very satisfying. The sample sorts the ListView based on the header of the column instead of the actual DisplayMemberBinding attribute. This is not an optimal solution, because column headers don’t necessarily contain text. Secondly it could be that the column header differs from the actual property name. Next to that I assume that this isn’t working very well in a Multilanguage application either.
  • 1
  • 0
  • 66
  • 6

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (1)



Voters Against This Link (0)