Winform ListView databind

Posted by Manu on Stack Overflow See other posts from Stack Overflow or by Manu
Published on 2010-04-12T13:33:31Z Indexed on 2010/04/12 13:53 UTC
Read the original article Hit count: 1096

Filed under:
|
|
|

Hi,

I have a Listview that uses databind. I set the DataSource property to a binding source. All works fine. The problem is that I need to have a column that is not databinded and contains only buttons that have the same handler for click event. To accomplish this I tried to add a subitem that is a button for each ListViewItem after InitializeComponent but doesn't work, nothing is displayed. Also I set the list view column type to Control. If I add elements to ListView and isn't databinded that the buttons appear.

So it will be a great help for me to know if buttons could be displayed in column that is not databinded when the listview uses databinding for rest of columns.

Thanks!

© Stack Overflow or respective owner

Related posts about winforms

Related posts about listview