PropertyGrid not populating when bound to an ExpandoObject
description
I like the format and function of the property grid but I need to be able to dynamically create different sets of properties at runtime based on data I receive from a server.
When I bind to a regular data object that exists at compile time, the grid populates just fine. When I bind SelectedObject to an instance of an ExpandoObject instead, it never populates with my properties.
I've checked while debugging, and I definitely have dynamic properties on the object but the grid still isn't getting them, even if I assign SelectedObject after instantiating and populating my ExpandoObject.
Any ideas?
Thanks!