So, we are all familiar with the functionality of clicking and holding the mouse button, then move the mouse to the edge of the grid, scroll through the columns / rows and increase the selection.
I have a DataGridView-based control that I had to disable MultiSelect and handle the selection process myself due to performance issues, and now the click + hold scroll function is also disabled.
Any suggestions on how to start writing in this function?
I was thinking of using something as simple as the MouseLeave event, but I'm not sure how to determine which position he left, or to implement dynamic scroll speed.
source share