private void NerbyTile_Tap(object sender, System.Windows.Input.GestureEventArgs e)
 {
     if (NerbyTile.SelectedItem != null)
     {
         GooglePlacesApi.Type types = ((GooglePlacesApi.Type)NerbyTile.SelectedItem);
         if (types.Key == GooglePlacesApi.Types.OTHER)
         {
             MessageBox.Show("Полный поиск");
         }
         else
         {
             App.NerbySearchViewModel = new NerbySimplySearchViewModel(types);
             App.NerbySearchViewModel.Navigation(() => NavigationService.Navigate(new Uri("/Pages/NerbySimplySearch.xaml", UriKind.Relative)));
         }
     }
 }
 public NerbySimplySearchViewModel(GooglePlacesApi.Type selectType)
 {
     this.selectType = selectType;
 }