View Model in WPF by Free wpf templates

Sun, 28 Jun 2009 00:01:06 -0600

View Model in WPF

by Free wpf templates @ Sun, 28 Jun 2009 00:01:06 -0600



Just bind directly to the eco object and you get the automatic updates for free. The other problem with models is they tend to get loaded with business logic. Since the nature of a view model is to facilitate building views, .... By using a DataTemplateSelector you can have different templates depending on what is bound to the Content. So if you had a list of different objects that you were binding to you can selected a different template view for each object. ...