Hello,
I'm using version 13.2.20132.2284 and my code calls xamCurrencyInput.SelectAll() method within the GotFocus event handler.
However, not all characters get selected when I use the TAB key to navigate into the control (see attached image). It works OK when I use SHIFT-TAB to navigate into it (tabbing backward from control to this control)
Interestingly enough that it works OK for the xamDateTiimeInput. It used to be a problem before (see this post). The workaround offered in that post does not work for this issue.
After running this code:
maskedInput.SelectionLength = maskedInput.TextLength
The SelectionLength value is smaller than TextLength.
After playing with this issue a bit more, I noticed that SelectAll() works OK when called from GotKeyboardFocus even handler. I will use this as a workaround.
Hello Serge,
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.