[IronPython] Strange data binding

Sanghyeon Seo sanxiyn at gmail.com
Mon Dec 4 04:04:23 CET 2006


2006/12/4, Patrick O'Brien <sum.ergo.code at gmail.com>:
> On 12/3/06, Patrick O'Brien <sum.ergo.code at gmail.com> wrote:
> > The results of running this code are very strange, but may help someone
> track down how to bind a data grid view to a list of python objects.  The
> following three columns get created: Count, SyncRoot, and IsSynchronized.
> Does this make sense to anyone?
>
> I'm not sure what good it does me, but I have figured out that these are the
> properties of the ICollection interface.

data is a list of tuples, which is also IList of tuples. So columns
are generated for properties of "tuple type", which includes
ICollection.

Didn't you have data as a list of instances before...?

-- 
Seo Sanghyeon



More information about the Ironpython-users mailing list