Quantcast
Channel: User Sinatr - Stack Overflow
Viewing all articles
Browse latest Browse all 601

Comment by Sinatr on Calling a Method in View's CodeBehind from ViewModel?

$
0
0
@JunaidPathan, "So here VM knows about View" - what VM knows about View other than that View is using its event? Yes, its valid MVVM: any View can use this VM event. For scenarios with single View for different ViewModels define interface with event, which all ViewModels need to implement.

Viewing all articles
Browse latest Browse all 601

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>