private void PlacesLVLoaded(object sender, RoutedEventArgs e) { try { AddLocationVM.SetPlaceScrollViewer(PlacesLV); } catch { } }
void DoSearch() { if (string.IsNullOrEmpty(SearchText.Text)) { SearchText.Focus(FocusState.Keyboard); return; } AddLocationVM.SearchPlaces(SearchText.Text); }