I need to implement the IScrollInfo interface, which is the monster of what I read. But I struggle with where this should be implemented.
I think this should be in the view, because there is a link to Visual in the MakeVisible method . In addition, ScrollViewer will look for the IScrollInfo interface when setting CanContentScroll = "True". This means that the user panel that organizes my objects will have to inherit the ViewModel or wrap the ViewModel in the view, invoking the implementation of the virtual machine.
How am I wrong, this should be in the ViewModel?
source
share