2

How do I make a WPF Toolkit DataGrid scroll to and select the bottom row without using the code behind?

For context, when the user wants to add a new row to the table I don't want them to have to scroll through hundreds of rows to get to the bottom.

Phil Gan
  • 2,813
  • 2
  • 29
  • 38

2 Answers2

-1

This will scroll/focus to the bottom of the grid

dataGridView1.FirstDisplayedScrollingRowIndex = dataGridView1.RowCount-1;
Raymond Dumalaog
  • 353
  • 4
  • 13