Setting Control Focus… The MVVM Way…
I needed to be able to set the Focus of a control, using MVVM. This means of course, that we can’t interact directly with the View, but instead must rely on Binding. I found a very helpful post by Khalid Rafique which allows exactly this; http://codenicely.blogspot.co.uk/2012/01/how-to-set-textbox-focus-in-silverlight.html By making use of attached Interactivity Behaviours, we can [...]