ListView with grouping (In GridView mode)
ListView inherits GroupStyle from ItemsControl, so we can easily achieve grouping for GridView. The only thing we should provide is a GroupStyle. Besides, in order to collapse and expande a group, an Expander is added in the GroupStyle.
The number on the group header indicates the count of items in that group.
Declaimer: This posting is provided "AS IS" with no warranties, and confers no rights.