This project is read-only.

Implementing ISCrollInfo for WPFExtension's ZoomControl. Calculating Offsets

Mar 3, 2013 at 8:56 AM
I'm trying to implement IScrollInfo for WPFExtensions' ZoomControl in order to be able to use this control in combination with ScrollViewer. However I'm having difficulty understanding how to correctly calculate HorizontalOffset and VerticalOffset properties and where I need to update them .At first I suspected it was TranslateX and TranslateY but that only gives you the offset relative to the position of the content from the last time the Zoom property changed and not the global offset of the viewport.

This seems like a very common need for users of ZoomControl. Has this effort been done before?
WPFExtensions seems to be very poorly documented and not very self-explanatory, is there a good source of information to better understand how ZoomControl works?