I have a TextBox and a Button in my view.
TextBox
Button
Now I am checking a condition upon button click and if the condition turns out to be false, displ
An alternative approach based on @Sheridan answer here
In your view model set up your binding in the usual way and then set the SomeTextIsFocused to true to set the focus on your text box