共用方式為


SearchBar.SetIsSpellCheckEnabled 方法

定義

多載

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>

參數

config
IPlatformElementConfiguration<Windows,SearchBar>

搜尋列項目的平台組態。

value
System.Boolean

true 表示開啟 SpellChecker。 false 表示關閉。

傳回

開發人員可能會對其執行進一步方法呼叫的 Fluent 物件。

適用於