There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Allow complex type property to be expanded without ExpandableObject attribute
I have looked into the source code and can see how DescriptorPropertyDefinition.ComputeExplandableAttribute works, but unfortunately this class is all internal so I cannot modify it to use an "unobtrusive" approach to property expansion.
In my opinion its better to first have a way to accomplish something without adding an intrusive attribute, because adding an attribute requires you to own the code of the type you are inspecting. This is often not the case.