Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

Commented Unassigned: Allow complex type property to be expanded without ExpandableObject attribute [20692]

$
0
0
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.
Comments: ** Comment from web user: jaredthirsk **

I agree! Down with view-DLL attributes being required in model code!!!!

Here's a patch. It's quick and hacky, but I don't care...


Viewing all articles
Browse latest Browse all 4964

Trending Articles