[英]Pinch Zoom with ScrollViewer
我正在MVVM環境中使用ScrollViewer來瀏覽歐洲地圖。 但是,當我使用ScrollViewer時,deltaScale不能用於操作DeltaEventArgs.Pinchmanipulation。 DeltaScale保持不變,無論如何。 我試圖看一下當前和原始的Pinchmanipulation,它們是相同的。 因此,有人可以在使用scrollViewer時幫助我進行縮放嗎?
操作Delta為:
public void Zoom(ManipulationDeltaEventArgs e)
{
if (e.PinchManipulation == null)
{
return;
}
}
我不認為scrollviewer支持Windows Phone 8的縮放。只有Windows Store應用程序現在可以執行此操作。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.