PEK
PEK

Reputation: 4338

Turn off spell checking for a textbox

I want to create a textbox with no spell checking when the user use the software keyboard. I have tried this:

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

But somehow spell checking and still occurs in the software keyboard. Any suggestions?

Upvotes: 5

Views: 1795

Answers (1)

Luca Ziegler
Luca Ziegler

Reputation: 4164

You can use the IsSpellCheckEnabled property in WinUI:

<TextBox
    PlaceholderText="Benutzername"
    x:Name="tbUser"
    IsSpellCheckEnabled="False" />

Upvotes: 0

Related Questions