How do I implement a DataGrid with an MVVM approach.

Posted by Fred on Stack Overflow See other posts from Stack Overflow or by Fred
Published on 2011-01-05T11:22:11Z Indexed on 2011/01/05 14:54 UTC
Read the original article Hit count: 214

Hi,

I'd like to implement a sort of Addressbook/Contactbook using a Datagrid (or a List) and the MVVM pattern.

Something like in Outlook/Thunderbird, where you've a list of your contacts displayed with a 2-3 main fields (name surname for example), and when you double-click a contact, then you get a new modal box that displays all the details of this specific contact.

Since a couple of weeks/months, I'm reading a lot of stuff about MVVM pattern on the net, but somehow, I get confused. Until now, I could find any sample like this. (perhaps, I searched wrong?)

How could I organize such an application?

Thx in advance for your help.

© Stack Overflow or respective owner

Related posts about wpf

Related posts about datagrid