I am migrating a UWP application to WinUI and I need to convert the existing code for a UWP SfDataGrid to the equivalent syntax for the WinUI
SfDataGrid.
My current implementation includes a call to get the index of the last data row, so that it can be scrolled into view:
myGrid .ScrollInView(new RowColumnIndex(myGrid.GetLastDataRowIndex(), 0));
Unfortunately, I don't see any
GetLastDataRowIndex() method on the WinUI grid.
Can you please tell me how to achieve this? Thanks.