public virtual void NavigationHelper_SaveState(object sender, SaveStateEventArgs e) { }
public override void NavigationHelper_SaveState(object sender, SaveStateEventArgs e) { HardwareButtons.BackPressed -= HardwareButtonsBackPressedExecute; base.NavigationHelper_SaveState(sender, e); }
public override void NavigationHelper_SaveState(object sender, SaveStateEventArgs e) { RestoreUI(); if (Center != null) { e.PageState[String.Format("Travel{0}{1}", _travelId, "Latitude")] = Center.Position.Latitude; e.PageState[String.Format("Travel{0}{1}", _travelId, "Longitude")] = Center.Position.Longitude; e.PageState[String.Format("Travel{0}{1}", _travelId, "Zoom")] = ZoomLevel; } base.NavigationHelper_SaveState(sender, e); }