It seems that when a WPF application starts, nothing has focus.
This is really weird. Every other framework I\'ve used does just what you\'d expect: puts initial foc
I also faced the same problem. I had three text boxes inside canvas container and wanted the first text box to be focused when the user control opens. WPF code followed MVVM pattern. I created a separate behavior class for focusing the element and binded it to my view like this.
Canvas behavior code
public class CanvasLoadedBehavior : Behavior
Code for view