Hi,
I have the following scenario in my MVVM WPF application. I have a user control which uses the ActiPro ZoomContentControl to show images. In my main window I have the possiblity the dynamically add my user control to an uniform grid to show multiple images at the same time.
Now I'm synchronizing the scrolling and the zoom level between these controls, so I bound the properties ZoomLevel and CenterPoint to my central ViewModel. This works just fine when zooming directly in the ZoomContentControl.
But I'd also like to zoom all childs controls from my main window, so I used the ZoomContentControlSlider. This also works fine, but with one problem. When the ZoomLevel is set in the ViewModel the controls get the change properly due my TwoWay binding and changes the zoom level, but the CenterPoint is not changed at all even if you can see in the UI that the scrolling has changed. Zooming in the ZoomContentControl itself via the control key and the mouse wheel lets the CenterPoint update just fine.
Now my questions are if this problem is already know and if there is a simple workaround. If whished I could try to reproduce it in a sample project and file a bug.
Thanks for help
Kind regards
Luke G.
I have the following scenario in my MVVM WPF application. I have a user control which uses the ActiPro ZoomContentControl to show images. In my main window I have the possiblity the dynamically add my user control to an uniform grid to show multiple images at the same time.
Now I'm synchronizing the scrolling and the zoom level between these controls, so I bound the properties ZoomLevel and CenterPoint to my central ViewModel. This works just fine when zooming directly in the ZoomContentControl.
But I'd also like to zoom all childs controls from my main window, so I used the ZoomContentControlSlider. This also works fine, but with one problem. When the ZoomLevel is set in the ViewModel the controls get the change properly due my TwoWay binding and changes the zoom level, but the CenterPoint is not changed at all even if you can see in the UI that the scrolling has changed. Zooming in the ZoomContentControl itself via the control key and the mouse wheel lets the CenterPoint update just fine.
Now my questions are if this problem is already know and if there is a simple workaround. If whished I could try to reproduce it in a sample project and file a bug.
Thanks for help
Kind regards
Luke G.