添加按钮到的WinForms列表视图

问题描述:

有没有办法给一个按钮控制在WinForms应用程序添加到单元格一个ListView里面呢?

Is there a way to add a button control to a cell in inside a ListView in a WinForms app?

ListView控件本身(或ListViewItem的)不作为任何所以没办法直接添加控件的容器,但它是可行的。我已经使用这个扩展的ListView有很多成功的:在ListView 嵌入控制

The ListView itself (or ListViewItem) does not function as a container of any kind so no way to add controls directly, however it is doable. I have used this extended ListView with a lot of success: Embedding Controls in a ListView.