Habibur Rahman
Habibur Rahman

Reputation: 121

How to detect that input is coming from IME in TextBox in UWP?

I am working on input text validation for an application in UWP. I am using a textbox for user input. Based on the letter inserted, I remove character if its a special character (%, $, ..) when text changing and fix the position of cursor by TextBoxName.SelectionStart. But in Korean language when input is from IME by pressing right control, my fixing cursor position using TextBoxName.SelectionStart is not working. It always moves cursor one position right that I set during TextChanging Event.

So, I want to know wheather the input is coming from IME (Pop up in the Image) or not? enter image description here

Upvotes: 0

Views: 271

Answers (0)

Related Questions