1.

What Is The Main Reason Of Constructing Viewmodel In Code-behind?

Answer»

The main reason of CONSTRUCTING VIEWMODEL in code-behind INSTEAD of XAML is that the view model constructor takes parameters, but XAML parsing can only construct elements if defined in default constructor.

The main reason of constructing ViewModel in code-behind instead of XAML is that the view model constructor takes parameters, but XAML parsing can only construct elements if defined in default constructor.



Discussion

No Comment Found