public static void UpdateIsSpellCheckEnabled(this AutoSuggestBox platformControl, SearchBar searchBar)
        {
            var queryTextBox = platformControl.GetFirstDescendant <TextBox>();

            if (queryTextBox == null)
            {
                return;
            }

            queryTextBox.IsSpellCheckEnabled = searchBar.OnThisPlatform().GetIsSpellCheckEnabled();
        }
Exemple #2
0
 public static void UpdateSearchBarStyle(this UISearchBar uiSearchBar, SearchBar searchBar)
 {
     uiSearchBar.SearchBarStyle = searchBar.OnThisPlatform().GetSearchBarStyle().ToPlatformSearchBarStyle();
 }