I have a search sidebar. When I search (for people) I want to display a list of items in the panel. Obviously, it has to scroll when the list becomes longer than the container.
Each item in the results list will take up one row.
Each item will comprise:
an icon 32x32, left-aligned in the cell
a line of bold black text, aligned at the top-left of the cell (but on the right of the icon)
a line of gray text, aligned at the bottom left of the cell (but on the right of the icon)
What would be the best control to use?
ListBox will only show text
ListView will only show simple pictures and text (afaik)
I'm thinking about using a TableLayoutPanel, with a single column of cells. In each cell I will put another complicated table (or other container?) with images and labels formatted and aligned correctly.
(I also want to be able to select different types of preset view, e.g. no icon - just the bold text)
Will using a TableLayoutPanel make it difficult to give visual feedback on mouseOver? (I can't find an easy/elegant way to detect mouseOver a particular cell in a TableLayoutPanel)
Is there a better way?
Thanks for any advice.