How to get dynamic value from View to ViewModel?
1 answer
From Josh Smith's article on MVVM
Unlike the Presenter in MVP, the ViewModel does not require a view reference. The View binds to properties on the ViewModel, which in turn exposes the data contained in the model objects and other view-specific state.
Hence, you can have a property in your ViewModel and bind it to the ListView SelectedItem.
+3
a source to share