><TextBox Name="txtPatternName" Text="{Binding Path=PatternName, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" Width="150" /> >Not sure how far you got with this. But you probably need to do something like this:
Dispatcher.BeginInvoke(DispatcherPriority.Input, new ThreadStart(delegate() { txtPatternName.Focus(); }));Focus does work, but has to be executed at the right time.