Skip to main content
3 events
when toggle format what by license comment
Mar 19, 2013 at 11:28 comment added Scott Whitlock @SonOfPirate - This is normally done through WPF mechanisms. The Presenter just sticks the returned ViewModel in the visual tree, and WPF grabs the appropriate View, hooks up the DataContext, and puts that in the visual tree instead. You can do this by using DataTemplates that declare what ViewModel type they render, or you can create a custom data template selector. That's still within the realm of WPF features.
Nov 17, 2011 at 13:20 comment added SonOfPirate How does the Presenter know what View to display?
Nov 17, 2011 at 2:11 history answered Scott Whitlock CC BY-SA 3.0