ListView垂直熟悉的视图 [英] A view smiliar to ListView vertically

查看:66
本文介绍了ListView垂直熟悉的视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只需要一个可以添加列的视图,而不是在ListView中添加行。我可以使用什么样的控制。基本上我想垂直查看ListView,其中所有列标题都在第一列。



评论非常感谢。

I just need a view where I can add columns, rather adding rows in ListView. What kind of control I can use for that. Basically I want to see the ListView vertically, where all the column headings are in the first column.

Comments really appreciate.

推荐答案

我知道没有控制权可以做到这一点:他们都期望面向行的数据,因为这是用户期望的,数据库等通常提供。



但是,创建自己的可能并不困难,可能是在UserControl中嵌入DataGridView并删除标题等等。使第一列只读,并改变它的背景颜色,它不应该难以完成。



奇怪的请求虽然!
There is no control I know of that will do that: they all expect row oriented data because that is what users tend to expect, and databases and so forth generally provide.

However, it wouldn't be too difficult to create your own, possibly by embedding a DataGridView in a UserControl and removing the headers and so forth. Make the first column read only, and change it's background colour and it shouldn't be to difficult to complete.

Strange request though!


这篇关于ListView垂直熟悉的视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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