I have an application that needs to display 1 to N custom controls in a grid (one control per row) and allow the user to select one row at a time.
I tried using DataGridView but that only allows Text, Button, Checkbox, ComboBox, Image, and Link.
Is there a control similar to DataGridView that allows me to insert any arbitrary custom control?
Thanks!
You can create a
custom columnby extending theDataGridViewColumnandDataGridViewCellclasses. Have a look at MSDN article – How to: Host Controls in Windows Forms DataGridView Cells.