I have a customized datagrid inside of a TabItem. The TabItem has a scrollbar. When I select an item in the datagrid, the tabitem/scrollbar view snaps to the top of the DataGrid.
The datagrid selected event has an empty handler. which is a bummer because I can't find a cause in the code for the selection side effect i'm seeing--let alone any communication at all between the datagrid and its parent tabitem.
This bug is my first time working on WPF, where should I be looking? I see lots of FocusManager stuff and google suggests that focus is tricky in WPF, what should I be looking for wrt Focus?