How can I tell which TextBox had focus last?

Posted by Carlos on Stack Overflow See other posts from Stack Overflow or by Carlos
Published on 2009-08-07T02:02:37Z Indexed on 2010/04/03 11:03 UTC
Read the original article Hit count: 238

Filed under:

I have an MVVM application with various TextBox controls and a virtual keypad. (This application is to run on a touch screen system, with no keyboard). To change the value of a TextBox, the user has to touch the TextBox and then use the virtual keypad to enter a number. How can my VM know which TextBox to change when it gets the command from the keypad?

© Stack Overflow or respective owner

Related posts about mvvm