I got the following problem. For my application I need to create the user-interface at runtime (during start-up).
For this I created a Pipeline-system which reads my UI-description file (a xml file with declarations of UI elements hierarchically ordered) which worked absolutely fine, until yet.
Previously I used default WPF controls and the Fluent Ribbon controls. At this time everything worked as it should.
So after a while I decided to use professional solutions and chose ActiPro. I changed all controls (which was pretty easy) and applied the changes to my xml file. But now it still doesn't work.
My pipeline adds dynamically bindings to specified properties to enable translations. I'm creating the controls basically via the Activator-class (Activator.CreateInstance()) and then search for the DependencyProperty via Reflection. On every ActiPro control it has the same strange behaviour:
It can't find any fields though the dependency properties are visible in the debugger. And when you go up the hierarchy in the debugger (now I'm talking about the Button control in the Ribbon library) there it is about 6-7 times "Button" and then 1-2 "Dispatcher". It's not the hierarchy you can find in the Object Browser.
EDIT: Okay, I found out that it is obfuscated which makes it impossible to use Reflection. So, is there the possiblity to get non-obfuscated libraries without buying the Blueprint license? That'd be great. Otherwise I would have to rewrite the biggest part of my application...
[Modified 9 years ago]