Frank Núñez Rodríguez
How many ViewModel can used for view?
By Frank Núñez Rodríguez in WPF on May 15 2015
  • Shweta Lodha
    Dec, 2016 5

    It is always good to use 1

    • 0
  • Keerthi Venkatesan
    Aug, 2016 3

    could be in a single.

    • 0
  • Bryan L
    May, 2016 3

    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.

    • 0
  • Ramakrishna Basagalla
    Nov, 2015 12

    only one

    • 0
  • Sreeni Dony
    Jul, 2015 22

    Only one viewmodel can used for view. Viewmodel for Views only not for Models. Viewmodel contains one or more models.

    • 0
  • Frank Núñez Rodríguez
    May, 2015 18

    In Wpf DataContext of the view can have alone a son for what the view can make refencia to a single class ViewModel

    • 0

Most Popular Job Functions