MVVM - Master/Detail scenario with Navigation and Blendability

Posted by vidalsasoon on Stack Overflow See other posts from Stack Overflow or by vidalsasoon
Published on 2010-05-14T15:24:00Z Indexed on 2010/05/15 14:34 UTC
Read the original article Hit count: 1447

Filed under:
|
|
|

Hi,

I'll start off with what I want so it may be simpler to understand:

  1. I have a Page (Master.xaml) that has has a listbox of PersonViewModel.
  2. When the user selects a PersonViewModel from the listbox, I want to Navigate to a details (Details.xaml) page of the selected PersonViewModel.
  3. The details page does some extra heavy lifting that I only want done once the user navigates to the page. (I don't want too much stuff loaded in each PersonViewModel of the master listbox)

So how do you guys handle master/detail scenarios with navigation while maintaining "blendability"?

I've been turing in circles for the past week. there seems to be no clean solution for something that should be quite common?

© Stack Overflow or respective owner

Related posts about mvvm-light

Related posts about mvvm