John M
John M

Reputation: 14668

Is it possible to nest a listview inside another one?

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 would 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.

Upvotes: 1

Views: 1446

Answers (1)

David Lynch
David Lynch

Reputation: 1716

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.

Upvotes: 2

Related Questions