开发者

Is it possible to nest a listview inside another one?

开发者 https://www.devze.com 2023-01-08 04:22 出处:网络
Using a C# 3.5 Winforms - 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 wo开发者_StackOverflow

Using a C# 3.5 Winforms -

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 wo开发者_StackOverflow中文版uld be the details.

UPDATE:

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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消