Relative Content

Tag Archive for c#wpfdatagrid

Wpf datagrid leaves half a view empty on opening

I have a wpf application which uses MVVM. And a view which contains a datagrid in it. This datagrid contains near 30_000 rows. All columns are DataGridTextColumn and there is a OnSelectionChanged handler in code behind which just says dataGrid.ScrollIntoView so when I open this view I see last N rows and the last one is selected at the very bottom of view.