コード例 #1
0
 private void ViewModel_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
 {
     if (e.PropertyName == nameof(ILanguagesViewModel.SelectedLanguage))
     {
         _searchController?.SearchBar?.EndEditing(true);
         _searchController?.DismissViewControllerAsync(true);
         _searchBar?.EndEditing(true);
     }
 }
コード例 #2
0
 private void OnTableViewScrollStarted(object sender, EventArgs e)
 {
     _searchController?.SearchBar?.EndEditing(true);
     _searchBar?.EndEditing(true);
 }