如何停止 UWP TextBox 中的字符替换(如 ... 到省略号)

How to stop character substitutions (like ... to ellipsis) in UWP TextBox

缺少嗅探字符和手动替换,如何阻止多行 UWP TextBox 用 Unicode 省略号字符 (...) 替换三个 periods/dots (...)?

我试过关闭 IsTextPrediction,但没有成功。我不确定是否还有其他房产看起来很有前途。

我也可以在一行中使用大写 I 替换 i,或者当我输入 npmNPM 自动大写(但并非总是如此! ).


就其价值而言,这 不是 TextBox 最初的行为方式。最初,没有替换发生。然后我相信有一段时间我不仅得到了省略号,而且还得到了用于普通引号 (") 的智能引号 ("),尽管智能引号替换似乎已经停止。

也很有趣:用省略号替换的三个句点不一致。我在没有任何退格或编辑的情况下键入了以下内容:

请查看官方document, TextBox contains spell checking function, and it controled by IsSpellCheckEnabled属性,请设置为false

The spell checking engine automatically corrects misspelled words when it's confident about the correction. For example, the engine automatically changes "teh" to "the."

<TextBox HorizontalAlignment="Stretch"  IsSpellCheckEnabled="False" IsTextPredictionEnabled="False" VerticalAlignment="Center"/>

更新

要禁用自动更正拼写错误的单词,您可以打开系统设置并找到键入设置页面并关闭自动更正拼写错误的单词。