Are there any ports to WPF of Silverlight's MultiScaleImage (aka DeepZoom)? Have Microsoft road-mapped this at all for WPF?
I want to move from WinForms to WPF and require something like DeepZoom, using Silverlight isn't an option.
At the moment there is no port. However, DeepZoom is based on the technology found in the "World Wide Telescope" and the "Microsoft Photo Synth", so they have desktop versions of the technology running. I guess it would be safe to assume that Microsoft will be releasing a multi scale image control for WPF soon. If you just want the "panning and zooming", and don't care about the efficient breakdown of high resolution images you can certainly achieve the same effects in WPF. This post is one example on how to do zoom and pan.
Sad bit of news (or 'rumor'?)... in this List of features to track in WPF4 , Jaime says
"Note: At PDC, we said that DeepZoom would be in WPF4. Unfortunately that feature has been cut. We just could not squeeze it into the schedule. There are workarounds to it: you can host Silverlight inWPF using web browser control or using the Silverlight hosting APIs. "
I guess those hosting APIs might be useful if you're brave - but I'm guessing just putting a Silverlight object inside a WPF WebBrowser control would be simpler...
来源:https://stackoverflow.com/questions/67628/deepzoom-for-wpf