title: Keyboard focus to DataGrid
body: <p>I have a WPF DataGrid and want to set the focus to the first item so that the user can navigate with the keyboard in the list of items, when the dialogue is opened the first time. With datagrid.Focus ( ); I can set the focus to the DataGrid, but this is apparently not the keyboard focus, because when I press the arrow down key, I cannot navigate in the DataGrid. The focus jump to the textbox "Description" but that is not what I want (see picture).</p>
  
  <p><img src="https://i.stack.imgur.com/9FDkT.jpg" alt="enter image description here"></p>
  
  <p>How can I set the focus and the keyboard focus in a correct way to the DataGrid? Thank for your help.</p>