Brennan Kastner

Brennan Kastner

  • NA
  • 1
  • 16.1k

Embedded GroupBox in ListView

Nov 9 2010 6:19 PM
I have a custom class NewsBox derived from GroupBox, with a couple of standard labels in each NewsBox.
I'm looking to put these into a ListView, so basically rather than a list of text in columns, a list of groupboxes.

listView1.Controls.Add(new NewsBox());

The above works for the first box, but doesn't show any ones after that.
How would I go about accomplishing what I need?

Answers (2)