从ListView中删除项目? [英] Deleting an item from a ListView?

查看:112
本文介绍了从ListView中删除项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我觉得这应该很简单,但我无法让它发挥作用。我甚至尝试使用有关从帮助参考中删除列表项的代码示例,但这不起作用。

I feel like this should be simple to do, but I can't get it to work. I even tried using the code sample about deleting list items from the help reference but that didn't work.

 

任何想法如何从列表视图中删除当前选定的项目?

Any ideas how to remove the currently selected item from a listview?

推荐答案

您用于列表视图的数据源是什么?
What is the datasource that you are using for the list view?


这篇关于从ListView中删除项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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