I have a MainView that contains a scrollViewer, from its ViewModel I have a command to move the page Up or Down (I need to accomplish this using the scroller because I only have one long page), by doing something like this Scroller.PageUP(); But my problem is that how can I access the scroller or how to fire an event to code behind to do it there, because in the MainCommad Class I only have access to my ViewModel.
I have a MainView that contains a scrollViewer, from its ViewModel I have a
Share
You can use
EventToCommand, it’s available in the MVVM Light Toolkit.