Click here to Skip to main content
15,881,092 members
Articles / Desktop Programming / WPF

Sorting an Observable Collection using the View Model from the MVVM Pattern

Rate me:
Please Sign up or sign in to vote.
4.67/5 (6 votes)
7 Apr 2011CPOL8 min read 83.8K   1.7K   18  
Shows how to allow sorting of controls (e.g. a Listview) that are bound to an ObservableCollection using the MVVM (model, view, view model) pattern and the sorting takes place in the view model.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) FTSE russell
United Kingdom United Kingdom
Software Engineer who started coding when I was 5. Core focus is to meet clients real business needs through initial consultation, followed by a communicative and collaborative approach. Delivers applications using C# .net and MS SQL Server. Comfortable working independently, in a team, or mentoring to meets deadlines irrelevant of pressure.

Currently interested in cloud computing with a focus on Microsoft Azure

Comments and Discussions