user1820916
user1820916

Reputation: 169

Is there ability to disable Spell checking for TextBlock in UWP?

I have not found bool answer to this question. Is there any way to disabled Spell checking for TextBlock in UWP for control like:

<TextBlock Text="{x:Bind MyUrl}" />

This article tell that IsSpellCheckEnabled = false, but VS2017 (15.9.11) does not agree with this article and tells: Error XLS0413 The property 'IsSpellCheckEnabled' was not found in type 'TextBlock'.

Upvotes: 1

Views: 430

Answers (1)

Nico Zhu
Nico Zhu

Reputation: 32775

Is there ability to disable Spell checking for TextBlock in UWP?

TextBlock does not have spell check behavior. However, TextBox and RichEditBox have this feature.

And there is IsSpellCheckEnabled property that use to turn on or off this feature within uwp.

<TextBox Text="{x:Bind Title, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" IsSpellCheckEnabled="False" />

For more detail please refer Guidelines for spell checking.

Upvotes: 3

Related Questions