Hi,
Is it possible to create a WPF Window control at runtime?
I'm thinking of a somewhat hack-ish solution to a problem, but I would essentially like to be able to have a dll which allows me to dynamically load a WPF Window and compile it's associated code behind (from an xaml and cs file respectivly). I assume I would also have to manually load any assemblies that the codebehind requires.
This would give me the ability to create modular addons which allow for Windows to be run from another application without being compiled into the source.
There are a few SO posts about this topic, but none seem to deal with window/code creation specifically.
If it's not possible (or just really not reccomended) thoughts as to alternatives would be greatly appreciated.
Cheers,
Kyle