WPF ListView Selecting Multiple List View Items
问题 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? I would think there is a list that I would need to add them all into, but what's the best way to approach this situation, do you have any ideas? Thanks! -Kevin 回答1: Set SelectionMode to Multiple or Extended and iterate through theSelectedItems in your ListView . 回答2: I would suggest do not use the SelectedItems