Beispiel #1
0
 private void OnAutoPanModeChanged(AutoPanMode oldMode, AutoPanMode newMode)
 {
     if (AutoPanModeChanged != null)
     {
         AutoPanModeChanged(this, new AutoPanModeChangedEventArgs(oldMode, newMode));
     }
 }
Beispiel #2
0
 private void OnItem_Click(object sender, RoutedEventArgs e)
 {
     IsLocationEnabled = true;
     Mode = AutoPanMode.Off;
 }
Beispiel #3
0
 private void CompassItem_Click(object sender, RoutedEventArgs e)
 {
     IsLocationEnabled = true;
     Mode = AutoPanMode.CompassNavigation;
 }
Beispiel #4
0
 internal AutoPanModeChangedEventArgs(AutoPanMode oldMode, AutoPanMode newMode)
 {
     OldMode = oldMode;
     NewMode = newMode;
 }
 internal AutoPanModeChangedEventArgs(AutoPanMode oldMode, AutoPanMode newMode)
 {
     OldMode = oldMode;
     NewMode = newMode;
 }
 private void OnItem_Click(object sender, RoutedEventArgs e)
 {
     IsLocationEnabled = true;
     Mode = AutoPanMode.Off;
 }
 private void OnAutoPanModeChanged(AutoPanMode oldMode, AutoPanMode newMode)
 {
     if (AutoPanModeChanged != null)
         AutoPanModeChanged(this, new AutoPanModeChangedEventArgs(oldMode, newMode));
 }
 private void CompassItem_Click(object sender, RoutedEventArgs e)
 {
     IsLocationEnabled = true;
     Mode = AutoPanMode.CompassNavigation;
 }