是否可以嵌套在另一个一个列表视图? [英] Is it possible to nest a listview inside another one?
问题描述
使用C#3.5的WinForms -
Using a C# 3.5 Winforms -
是否有可能巢1的ListView在另一个?我们的想法是一个列表的列表 - 的更高水平的列表将是分组和下层列表将是细节
Is it possible to nest one listview inside another? The idea is to a list of lists - The higher level list would be groupings and the lower level list would be the details.
更新:
嵌套不会出现是可能的。但是使用FlowLayoutPanel的,我可以添加很多的ListView控件到它和面板的负责自动布局控制。在每个列表视图使用分组有助于确定了每个列表。
Nesting does not appear to be possible. However using a FlowLayoutPanel I can add many listview controls into it and the panel takes care of automatic layout control. Using grouping in each listview helps to identify what each list is.
推荐答案
我不相信这是可能的(当然不推荐)窝一个WinForms列表视图内的另一个。但是,您可以启用分组描述这里。
I don't believe it is possible (and certainly not recommended) to nest a WinForms listview inside another. However you can enable grouping as described here.
这篇关于是否可以嵌套在另一个一个列表视图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!