WPF ListView Selecting Multiple List View Items

前端 未结 5 2050
故里飘歌
故里飘歌 2021-02-07 12:21

I am figuring out a way to Select Multiple items in list view and deleting them on a certain action. What I can\'t figure out is, how should I have these multiple items selected

5条回答
  •  有刺的猬
    2021-02-07 12:32

    Set SelectionMode to Multiple or Extended and iterate through theSelectedItems in your ListView.

提交回复
热议问题