So i have a view with a bunch of buttons, and a single textbox :
<TextBox Name="InputField" Text="{Binding Path=InputField, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
i want at all times keep focus in this textbox because this textbox is used for very many different things. Right now if i click on buttons in the same view, focus is lost and i cant really figure out how to "catch" that focus is lost so i can focus textbox again.
How do i achieve this?