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