社区
C#
帖子详情
Windows mobile开发 “System.Windows.Forms.ListView”不包含“SelectedItems”的定义
lovefhp
2010-01-10 10:20:27
Windows mobile开发 “System.Windows.Forms.ListView”不包含“SelectedItems”的定义
怎么回事?
怎么取得listview被选中的值?单行的
...全文
204
3
打赏
收藏
Windows mobile开发 “System.Windows.Forms.ListView”不包含“SelectedItems”的定义
Windows mobile开发 “System.Windows.Forms.ListView”不包含“SelectedItems”的定义 怎么回事? 怎么取得listview被选中的值?单行的
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
3 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
lovefhp
2010-01-10
打赏
举报
回复
谢谢二楼的,值是取到了,但是不知道为什么提示不包含“SelectedItems”的定义,我看对象浏览器里是有的.三楼的没用,错误 CS0426: 类型“System.Windows.Forms.ListView”中不存在类型名称“SelectedListViewItemCollection”
wuyq11
2010-01-10
打赏
举报
回复
ListView listView1 = new ListView();
ListView.SelectedListViewItemCollection c= listView1.SelectedItems;
flyerwing
2010-01-10
打赏
举报
回复
ListView1_SelectIndexChanged(object sender,EventArgs e)
{
if(ListView1.FocusItem!=null)
{
string a=ListView1.FocusItem.Text;
....
}
}
大概这个,楼主看下了有用没
listbox控件的使用方法
详细的讲解了
ListView
控件的使用,包括复杂的数据绑定等
android
listview
包含
内容 横向
listview
微信
listview
x
listview
优化
RecyclerView 瀑布流、
ListView
、GridView实例源码
代码为博客实例代码,http://blog.csdn.net/lmj623565791/article/details/45059587 有问题请博客留言
Android实现
ListView
的A-Z字母排序和过滤搜索功能完整实例源码
Android实现
ListView
的A-Z字母排序和过滤搜索功能,完整源码,小伙伴需要的来CSDN下载吧!项目详情http://blog.csdn.net/xiaanming/article/details/12684155
Android 使用Scroller实现绚丽的
ListView
左右滑动删除Item效果 源码程序
Android 使用Scroller实现绚丽的
ListView
左右滑动删除Item效果,项目详情http://blog.csdn.net/xiaanming/article/details/17539199
C#
111,122
社区成员
642,536
社区内容
发帖
与我相关
我的任务
C#
.NET技术 C#
复制链接
扫一扫
分享
社区描述
.NET技术 C#
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧
+ 用AI写文章