2 writes to _searchController
Microsoft.Maui.Controls (2)
Compatibility\Handlers\Shell\iOS\ShellPageRendererTracker.cs (2)
705
_searchController
= new UISearchController(_resultsRenderer?.ViewController);
776
_searchController
= null;
18 references to _searchController
Microsoft.Maui.Controls (18)
Compatibility\Handlers\Shell\iOS\ShellPageRendererTracker.cs (18)
613
_searchController
.SearchBar.ShowsBookmarkButton = _searchHandler.ClearPlaceholderEnabled;
615
UpdateSearchVisibility(
_searchController
);
617
UpdateSearchIsEnabled(
_searchController
);
626
if (_searchHandler?.AutomationId != null &&
_searchController
?.SearchBar != null)
627
_searchController
.SearchBar.AccessibilityIdentifier = _searchHandler.AutomationId;
671
NavigationItem.SearchController =
_searchController
;
676
NavigationItem.TitleView =
_searchController
.SearchBar;
687
if (
_searchController
!= null)
689
_searchController
.View.UpdateFlowDirection(_context.Shell);
690
_searchController
.SearchBar.UpdateFlowDirection(_context.Shell);
710
NavigationItem.SearchController =
_searchController
;
712
NavigationItem.TitleView =
_searchController
.SearchBar;
715
var searchBar =
_searchController
.SearchBar;
717
_searchController
.SetSearchResultsUpdater(sc =>
725
UpdateSearchIsEnabled(
_searchController
);
774
_searchController
.SetSearchResultsUpdater(null);
775
_searchController
.Dispose();
781
_searchController
.Active = false;