This is for a UWP app deployed to a Raspberry Pi 3 with a touch screen. On-screen keyboard enabled.
I have a TextBox
control for ASCII commands to be sent to a device. Is there a way to disable or prevent auto correction on a textbox control when using the on-screen touch keyboard? Is there a way to do that in XAML?
It is nice to have auto-correction available. I'd hate to disable it completely, but I suppose that's also an option.
You can disable autocomplete and text prediciton with TextBox properties: IsSpellCheckEnabled, IsTextPredictionEnabled.
Setting <TextBox IsTextPredictionEnabled="False" IsSpellCheckEnabled="False"/>
should do the job.
Howeer if you need more sophisticated solution with some modifications when on-screen keyboard is showing, then you can probably use InputPane class for this.