I have a WPF ListBox which shows a list of employees names. I want to group and sort them alphabetically. Is this possible? if so, how? Also, i will be required to style the headers (like the attached image) Could some1 guide me as to how i can achieve this. Thanx!
Asked
Active
Viewed 2,278 times
1 Answers
6
You can group items by adding GroupDescription
to the CollectionView
. See this related question:
How do I group items in a WPF ListView
Also, google GroupDescription
for many more examples.
-
hey! thanx alot, the link guided me to get the screen as required...! thanx :) – Sangeetha Jun 29 '11 at 06:40