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 whether the input is coming from IME (Popup) or not?