I'm still not quite used to work with WPF, so this may be an easy question. But I have a problem.
I have just created a new CustomControl in my project. This custom control which inherits from a TextBox and has a template which defines the layout of the corresponding custom control. The template is referenced in the Generic.xaml as a MergedDictionary.
But, when I use this custom control in a another assembly, the template resource is not loaded, and I can't find out why. If I reference the template directly in the form that references the control it is displayed as it should, but not otherwise!
I have other controls that does work, just this one that doesn't...
Does anyone have any idea what I have forgot to do?
Here is the code of my template xaml:
View Complete Post