我在 MVVM 环境中使用 ScrollViewer 在欧洲 map 上导航。但是当我使用 ScrollViewer 时,用于 manipulationDeltaEventArgs.Pinchmanipulation 的 deltaScale 不起作用。无论如何,DeltaScale 保持为一。我试着看一下 Pinchmanipulation 的 Current 和 Original,它们是一样的。那么谁能帮助我在使用 scrollViewer 的同时进行缩放?
manipulationDelta 是:
public void Zoom(ManipulationDeltaEventArgs e)
{
if (e.PinchManipulation == null)
{
return;
}
}
最佳答案
我认为 scrollviewer 不支持 Windows Phone 8 中的缩放。目前只有 Windows 应用商店应用程序可以执行此操作。
关于c# - 使用 ScrollViewer 捏缩放,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20148450/