SearchBar.SetIsSpellCheckEnabled 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
SetIsSpellCheckEnabled(BindableObject, Boolean) |
開啟和關閉 SpellChecker。 |
SetIsSpellCheckEnabled(IPlatformElementConfiguration<Windows,SearchBar>, Boolean) |
開啟和關閉 SpellChecker。 |
SetIsSpellCheckEnabled(BindableObject, Boolean)
開啟和關閉 SpellChecker。
public static void SetIsSpellCheckEnabled (Xamarin.Forms.BindableObject element, bool value);
static member SetIsSpellCheckEnabled : Xamarin.Forms.BindableObject * bool -> unit
參數
- element
- BindableObject
搜尋列項目。
- value
- System.Boolean
true
表示開啟 SpellChecker。 false
表示關閉。
適用於
SetIsSpellCheckEnabled(IPlatformElementConfiguration<Windows,SearchBar>, Boolean)
開啟和關閉 SpellChecker。
public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows,Xamarin.Forms.SearchBar> SetIsSpellCheckEnabled (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows,Xamarin.Forms.SearchBar> config, bool value);
static member SetIsSpellCheckEnabled : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows, Xamarin.Forms.SearchBar> * bool -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows, Xamarin.Forms.SearchBar>
參數
搜尋列項目的平台組態。
- value
- System.Boolean
true
表示開啟 SpellChecker。 false
表示關閉。
傳回
開發人員可能會對其執行進一步方法呼叫的 Fluent 物件。