views:

41

answers:

3
+2  Q: 

List controls C#

I'm working on something like a download manager on C#, and I need to implement a download list that has to support the following features:

1] The list should support scrolling
2] All the list elements have a url, and some other data + icon
3] Selection, and multiple selection.

How can I implement this kinda of list? I there an already created control I can use? I started to implement it using a flowLayoutPanel and custom controls for all the list items and handling the Click events of the custom control. I'm not sure that custom creating this would be the right way to go.

Any help would be highly appreciated.

A: 

If you decide to use WPF, you can use a ListView, with scrolling options enabled, with a GridView on top of it.

http://msdn.microsoft.com/en-us/library/system.windows.controls.listview.aspx

Merlyn Morgan-Graham
+1  A: 

Use DataGridView and implement custom cells/columns for it by inheriting from DataGridViewColumnand DataGridViewCell.

Hamid Nazari
+2  A: 

If you're using WinForms, you can use a ListView control, which supports these features as standard.

Tim Robinson