SearchBar.SetIsSpellCheckEnabled Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET MAUI