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