Example #1
0
 private void OnAutoPanModeChanged(AutoPanMode oldMode, AutoPanMode newMode)
 {
     if (AutoPanModeChanged != null)
     {
         AutoPanModeChanged(this, new AutoPanModeChangedEventArgs(oldMode, newMode));
     }
 }
Example #2
0
 private void OnItem_Click(object sender, RoutedEventArgs e)
 {
     IsLocationEnabled = true;
     Mode = AutoPanMode.Off;
 }
Example #3
0
 private void CompassItem_Click(object sender, RoutedEventArgs e)
 {
     IsLocationEnabled = true;
     Mode = AutoPanMode.CompassNavigation;
 }
Example #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;
 }