Create list-of-controls in Windows.Forms

Posted by leiflundgren on Stack Overflow See other posts from Stack Overflow or by leiflundgren
Published on 2010-12-24T12:46:36Z Indexed on 2010/12/26 11:53 UTC
Read the original article Hit count: 307

Filed under:
|

I have decided that I would like to have a list with "complex context", i.e. of custom-controls. (The goal is something looking like a buddy list, with photos, status-icons, text, "start-chat-button".)

But I like it to behave as a list: scrollbars, possibility to select multiple items etc.

When I have been looking at ListView and ListBox I only see that I can add text and an icon, but not arbitrary controls.
I'm I missing how this is done?
Or should I use something else then ListView/ListBox?

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms