DataGridView Column bound to Collection property



Hi all,

I have a list of custom objects bound to a DataGridView. The class
which the list stores has some basic properties and I can bind these
fine. One of the properties is a collection however.

I'm creating a custom DataGridViewColumn which will 'display' the
contents of the collection. The designer though does not display the
property I wish to bind to (it only displays the value type
properties). What do I do in my custom grid to specify it only accepts
a property which is of a certain type (e.g., I have an AttachmentsList
class which the column will be 'displaying').



Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question