protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e) { if (MapItemDetailPage.IsOpen && !WebmapContentPage.IsOpen) ResultsListBox.SelectedItem = null; }