Select multiple Rows without pressing Control Key

后端 未结 6 1720
日久生厌
日久生厌 2021-01-19 07:36

I have a gridview where I can select multiple rows by pressing a control key. Is it possible to achieve the same without pressing a control key.

6条回答
  •  滥情空心
    2021-01-19 08:17

    I've never done it, but it should be possible to use the MouseDown and MouseUp events to select any rows that are under the cursor when you move the mouse while holding one of the buttons down.

提交回复
热议问题