I have a WPF DataGrid that is inside of a Grid and has many rows, and thus has scroll bars. By default, when the user scrolls the DataGrid and the SelectedItem can sroll out of view. When this happens I would like the SelectedItem to change and become the first item that is in the datagrid view area so a SelectedItem is alway in view as the user scolls the DataGrid. I have done this in with WindowsForms and a DataGridView but have not figured out how to do this using a DataGrid in WPF. Any ideas as to the best approach for this? I found the ScrollViewer.ScrollChanged event for the DataGrid which seems like a good place to start, not sure where to go from there. I am using VB but C# code would be good to, I can translate.