xceedsoftware / wpftoolkit

All the controls missing in WPF. Over 1 million downloads.
Other
3.87k stars 872 forks source link

Allow complex type property to be expanded without ExpandableObject attribute #736

Open xceedsoftware opened 7 years ago

xceedsoftware commented 7 years ago

jtu100[CodePlex]
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 quotunobtrusivequot 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.

xceedsoftware commented 7 years ago

BoucherS[CodePlex]
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

xceedsoftware commented 7 years ago

jtu100[CodePlex]
Will the fix also be available through 3.3. community edition?

Also when are you moving to GitHub? :)

xceedsoftware commented 7 years ago

BoucherS[CodePlex]
Hi,

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

xceedsoftware commented 7 years ago

jaredthirsk[CodePlex]
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...