Welcome to MSDN Blogs Sign in | Join | Help

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.

Published Wednesday, March 15, 2006 2:19 PM by ATC Avalon Team
Filed under:

Attachment(s): GridViewWithGrouping.xaml

Comments

Anonymous comments are disabled
 
Page view tracker