void MySceneView_MouseMove(object sender, System.Windows.Input.MouseEventArgs e) { System.Windows.Point screenPoint = e.GetPosition(MySceneView); MapPoint mapPoint = MySceneView.ScreenToLocation(screenPoint); if (mapPoint == null) { return; } QueryElevation(mapPoint); }