出于这个原因,建议不要在全景图中使用地图。如果您能够锁定地图,则Jobi的建议适用于您。
以下是Jeff Wilcox的参考意见:
- "出于多种用户体验和技术原因,在全景图或Pivot中使用地图控件并不推荐。请导航到子页面。"
protected override void OnManipulationStarted(ManipulationStartedEventArgs e)
{
e.Handled = true;
}
protected override void OnManipulationDelta(ManipulationDeltaEventArgs e)
{
e.Handled = true;
}
protected override void OnManipulationCompleted(ManipulationCompletedEventArgs e)
{
e.Handled = true;
}
private void Control_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{
e.Handled = true;
}
private void Control_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
{
e.Handled = true;
}