Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以制作我的自定义item类,以便我可以将其直接放入 listviewitem 中?我的意思是一个列表视图,我希望能够做到 Listview.items(0) =Item
item
Item
或者这是不可能的?
你可以让你的类派生自ListViewItem
ListViewItem
Public Class MyItem Inherits ListViewItem .... End Class
这允许您在所有接受MyItema 的地方使用。ListViewItem
MyItem