DataGridView Scroll event (and ScrollEventType.EndScroll)

后端 未结 1 1295
予麋鹿
予麋鹿 2021-01-18 17:58

When handing the DataGridView.Scroll event, you can check whether it was the end of the scroll (when dragging the scroll bar with the mouse, this is presumably

相关标签:
1条回答
  • 2021-01-18 18:14

    Well, it seems that this event is just bugged.

    You can latch on the the DGV's private scroll bar objects (via reflection) and handle their events, where ScrollEventType.EndScroll appears as expected.

    See this this link for how to do it.

    0 讨论(0)
提交回复
热议问题