public static void UpdateIsSpellCheckEnabled(this AutoSuggestBox platformControl, SearchBar searchBar) { var queryTextBox = platformControl.GetFirstDescendant <TextBox>(); if (queryTextBox == null) { return; } queryTextBox.IsSpellCheckEnabled = searchBar.OnThisPlatform().GetIsSpellCheckEnabled(); }
public static void UpdateSearchBarStyle(this UISearchBar uiSearchBar, SearchBar searchBar) { uiSearchBar.SearchBarStyle = searchBar.OnThisPlatform().GetSearchBarStyle().ToPlatformSearchBarStyle(); }