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
Try giving keyboard focus manually using Keyboard.Focus -
Keyboard.Focus(dataGrid);