UserControl in Listbox

  • Thread starter Thread starter Peter Osawa
  • Start date Start date
P

Peter Osawa

Hi, how can I insert an UserControl as an item in a listbox...

I need this because the amount of UCs displayed isn't alwyas the same,
and I think that displaying UCs in a listbox is the cleanest way,
because the user must be able to reorder the UCs too...

TIA
 
Peter,

You really can't as far as I know. You can draw the items that you want
in the listbox yourself, but you really need to be able to do more than it
can offer.

I would recommend your own container control, where you can place your
own controls on it (like a UserControl) and control the position and
ordering yourself.

Hope this helps.
 
Back
Top