I too am a Telerik user and haven't gotten to the point to using pulltorefresh and therefore never looked how to wire up the completion, I suspect that the completion event comes only on the view side so you would probably have to handle on the view which is entirely ok. Ieventaggregator would be my first go to on this.. as I stated before snag instance of it and then listen for "somecompletioneventyoucreate" is published. I have some snippets laying around if need be for the instance of IeventAggregator in a view, it does smell but it works...
Another possibility is to pull an "instance" of the control into the viewmodel via the OnViewLoaded(object view) override and then using GetView() to get access to typed information then cast control to RadDataboundListBox since that is what it is then when you are doing do "controlname.StopPulToRefreshLoading(true);" call to stop animation.
Some are purists some are not, if it's entirely view related then do it on the view... but if it entails something else in the viewmodel then it gets slightly more complicated, just have to see about marshalling around the events you want to occur.
due to the nature of the beast that is WP and trying to force a paradigm that can be anti-pattern in some cases, this would be one of them.. Testability can be troublesome in this case due to the code involved, especially if the control name ever changed.
there aren't ever very basic questions when it comes to this stuff :)
Another possibility is to pull an "instance" of the control into the viewmodel via the OnViewLoaded(object view) override and then using GetView() to get access to typed information then cast control to RadDataboundListBox since that is what it is then when you are doing do "controlname.StopPulToRefreshLoading(true);" call to stop animation.
Some are purists some are not, if it's entirely view related then do it on the view... but if it entails something else in the viewmodel then it gets slightly more complicated, just have to see about marshalling around the events you want to occur.
due to the nature of the beast that is WP and trying to force a paradigm that can be anti-pattern in some cases, this would be one of them.. Testability can be troublesome in this case due to the code involved, especially if the control name ever changed.
there aren't ever very basic questions when it comes to this stuff :)