Please support expandable treenodes in property grid for complex types

Nov 20, 2013 at 10:30 AM
For my app Data Context tab just show

Data, [MyNamespace.MyClass], Unknown,

this node should be expandable to show all public properties of MyClass

I tried to add the attribute [TypeConverter(typeof(ExpandableObjectConverter))]
to my class but that had no effect
Developer
Nov 20, 2013 at 9:08 PM
Hi,

Let me see if I understand the scenario correctly: You have a view model (DataContext) that is a complex type. In other words, your view model contains a public property that is another class (not string or int or whatever). For example, if you have this "complex" data context type:

class MyClass
{
....
public MyComplexMemberType MyComplexMember {get; set;}
}

Now you want to see some member of MyComplexMember (such as MyComplexMember.SomeProperty).

If this is your scenario, Snoop actually as a way to achieve this goal. Simply right click on the member, and choose "Delve" from the context menu (you can also double click to delve). Will this help you?

Thanks,

Maciek
Nov 21, 2013 at 6:27 PM
Hi

I was not aware of that possibility it will work for me

Thanks
Jens