This project has moved. For the latest updates, please go here.
1
Vote

Allow complex type property to be expanded without ExpandableObject attribute

description

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.

file attachments

comments

jaredthirsk wrote Feb 25, 2014 at 10:27 AM

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...

wrote Nov 7, 2016 at 7:25 PM

BoucherS wrote Nov 7, 2016 at 7:27 PM

Hi,

This will be fixed in v3.3 Plus, with a better fix.

jtu100 wrote Mar 15 at 5:15 AM

Will the fix also be available through 3.3. community edition?

Also when are you moving to GitHub? :)

BoucherS wrote Mar 15 at 4:59 PM

Hi,

No, the fix is only available in the Plus versions of the Toolkit (v3.3 Plus and up).
GitHub is not a priority for now, but could be eventually.

――――
Get more controls, features, updates and technical support with Xceed Toolkit Plus for WPF