是否可以嵌套在另一个一个列表视图?嵌套、视图、列表

2023-09-07 05:03:34 作者:别再辜负我了

使用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.

 
精彩推荐
图片推荐