I have a problem with a WPF control that I\'m trying to host in an ElementHost in a WinForms app. The control is a lookless custom control that I originally developed in a s
Thanks for replying, but I think you may misunderstand me: I'm trying to use a custom element, whose resources are normally in the Application object, not insert the application itself into the ElementHost.
Fortunately, I've found an answer:
http://drwpf.com/blog/2007/10/05/managing-application-resources-when-wpf-is-hosted/
Short version:
And then it's all good: my WPF control appears as it should.
Now, why is it I only find the answer after I've posted to StackOverflow?
Thanks again,
Bart