http://bugzilla.novell.com/show_bug.cgi?id=535970

User [email protected] added comment
http://bugzilla.novell.com/show_bug.cgi?id=535970#c1


Ivan Zlatev <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Windows.Forms               |Sys.Data
         AssignedTo|[email protected]  |[email protected]
                   |                            |vo.novell.com
            Summary|PropertyGrid.SelectedObject |DbConnectionStringBuilder
                   |=                           |doesn't implement
                   |MySqlConnectionStringBuilde |ICustomTypeDescriptor
                   |r give a blank propertygrid |
                   |under linux                 |




--- Comment #1 from Ivan Zlatev <[email protected]>  2009-09-01 10:55:10 MDT ---
--> System.Data bug

The DbConnectionStringBuilder class does not implement ICustomTypeDescriptor
and hence no properties are returned when one calls
TypeDescriptor.GetProperties.. 

I see that there is also another method GetProperties inside the class (outside
the interface) which is probably supposed to be called. I assume that this
interface is implemented so that it can provide a custom PropertyDescriptor
implementation which will do something funky when the SetValue is called
(refresh the connection or something?). I assume all other methods would be
proxied back to TypeDescriptor with useCustomDesriptor parameter set to false.

-- 
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

Reply via email to