Recommended

  • Silverlight.FX
    Silverlight.FX is a light-weight application framework for building RichInternet Applications with Silverlight 2.
  • Building Modular Silverlight Applications
  • Prism -  10 Things to Know
  • Securing Silverlight Application and WCF Service using ASP.Net Authentication Techniques
  • Model– View – ViewModel in Silverlight

Silverlight Hosting

More from Silverlight Show

Skip Navigation LinksHome / News / View News

WPF Sample Series – ListBox Grouping, Sorting, Subtotals and Collapsible Regions

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Jun 11, 2009
(0 votes)
Tags: Grouping , Sorting , Listbox , WPF

Karl Shifflett is ready with the next sample in the WPF Sample Applications Series. This sample is the result of the question “how can I do multi-level grouping?” and provides a brief description of the problem, the solution and full source code.

WPF provides the CollectionViewSource for codeless sorting and grouping of data.  The SortDescriptions and GroupDescriptions collections can be modified at runtime if desired.  The SortDescription provides the ability to set the sort direction as I’ve done for the Sales.

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 1 and 7 and type the answer here: