http://bugzilla.novell.com/show_bug.cgi?id=522659
User [email protected] added comment http://bugzilla.novell.com/show_bug.cgi?id=522659#c4 --- Comment #4 from Nikos Sarris <[email protected]> 2009-07-26 05:06:55 MDT --- I looked into the SVN... In DataGridView.cs (line 5910) in void DoBinding() the columns are automatically created by getting the properties from DataManager.GetItemProprties() , which in turn calls ITypedList.GetItemProperties(): But in void AddBoundRow (object element) TypeDescriptor.GetProperties (element) is called instead which gets the actuall class properties from the element. So the the fix to the bug would be to change row 5846 from: PropertyDescriptorCollection properties = TypeDescriptor.GetProperties (element); to: PropertyDescriptorCollection properties = DataManager.GetItemProprties(); Alas the issue with ITypedList.GetItemProperties(listAccessors) always being called with a null argument seems to be an issue with BindingSource and not the DataGridView. I'll investigate and open another bug ticket. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
