Interviews6 answers
How many ViewModel can used for view?
6 Answers
It is always good to use 1
Shweta LodhaPosted Dec 5, 2016, 1:10 AM EST
could be in a single.
Keerthi VenkatesanPosted Aug 3, 2016, 1:43 AM EDT
There can be only one viewmodel for the view at the top level, acting as the datacontext. You can switch between viewmodels. If nothing is specified on the top level, and the window is divided into sections (or user-controls), then each section can have its viewmodel.
Bryan LPosted May 2, 2016, 11:07 PM EDT
only one
Ramakrishna BasagallaPosted Nov 12, 2015, 1:02 AM EST
Only one viewmodel can used for view.
Viewmodel for Views only not for Models.
Viewmodel contains one or more models.
Sreeni DonyPosted Jul 22, 2015, 1:51 AM EDT
In Wpf DataContext of the view can have alone a son for what the view can make refencia to a single class ViewModel
Frank Núñez RodríguezPosted May 18, 2015, 11:56 AM EDT



