title: How to set focus to textbox using MVVM?
body: <p>How to focus a textbox from ViewModel wpf?</p>
  
  <pre><code>&lt;TextBox Name="PropertySearch"
           Text="{Binding UpdateSourceTrigger=PropertyChanged, 
                          Mode=TwoWay, Path=PropertySearch, 
                          ValidatesOnDataErrors=True}"  
           Width="110" 
           Height="25" 
           Margin="10" /&gt;
  </code></pre>