다음을 통해 공유


SearchBar.SetIsSpellCheckEnabled Method

Definition

Overloads

SetIsSpellCheckEnabled(BindableObject, Boolean)

Turns the spellchecker on and off.

SetIsSpellCheckEnabled(IPlatformElementConfiguration<Windows,SearchBar>, Boolean)

Turns the spellchecker on and off.

SetIsSpellCheckEnabled(BindableObject, Boolean)

Source:
SearchBar.cs
Source:
SearchBar.cs

Turns the spellchecker on and off.

public:
 static void SetIsSpellCheckEnabled(Microsoft::Maui::Controls::BindableObject ^ element, bool value);
public static void SetIsSpellCheckEnabled (Microsoft.Maui.Controls.BindableObject element, bool value);
static member SetIsSpellCheckEnabled : Microsoft.Maui.Controls.BindableObject * bool -> unit
Public Sub SetIsSpellCheckEnabled (element As BindableObject, value As Boolean)

Parameters

element
BindableObject

The search bar element.

value
Boolean

true to turn the spellchecker on. false to turn it off.

Applies to

SetIsSpellCheckEnabled(IPlatformElementConfiguration<Windows,SearchBar>, Boolean)

Source:
SearchBar.cs
Source:
SearchBar.cs

Turns the spellchecker on and off.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Windows ^, Microsoft::Maui::Controls::SearchBar ^> ^ SetIsSpellCheckEnabled(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Windows ^, Microsoft::Maui::Controls::SearchBar ^> ^ config, bool value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows,Microsoft.Maui.Controls.SearchBar> SetIsSpellCheckEnabled (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows,Microsoft.Maui.Controls.SearchBar> config, bool value);
static member SetIsSpellCheckEnabled : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows, Microsoft.Maui.Controls.SearchBar> * bool -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows, Microsoft.Maui.Controls.SearchBar>
<Extension()>
Public Function SetIsSpellCheckEnabled (config As IPlatformElementConfiguration(Of Windows, SearchBar), value As Boolean) As IPlatformElementConfiguration(Of Windows, SearchBar)

Parameters

config
IPlatformElementConfiguration<Windows,SearchBar>

The platform configuration for the search bar element.

value
Boolean

true to turn the spellchecker on. false to turn it off.

Returns

A fluent object on which the developer may make further method calls.

Applies to