WPF ListView选择多个列表视图项目 [英] WPF ListView Selecting Multiple List View Items

查看:53
本文介绍了WPF ListView选择多个列表视图项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种在列表视图中选择多个项目并将其删除的方法.我不知道的是,我应该如何选择这些多个项目?我认为我需要将它们全部添加到列表中,但是处理这种情况的最佳方法是什么,您有什么想法吗?谢谢!-凯文

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

推荐答案

设置 SelectionMode Multiple Extended 并通过 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆