I think that you are giving an instance of System.Type to the property grid
where you really want to be giving it an instance of your class. So it sees
your method member of the dynamic Type and shows it. All members of dynamic
types are seen as properties from the perspective of PropertyGrid.
Hi all,
I am trying to populate a simple PropertyGrid, something in the lines:
class Form1(System.Windows.Forms.Form):
def __init__(self):
self.PropertyGrid1 = System.Windows.Forms.PropertyGrid()
...
...
self.Load += self.Form1_Load
self.ResumeLayout(F