Resource scope for ControlTemplate
As I can understand ControlTemplate create isolated "Resources" scope hence I can't use resources defined even on the same level as Style containing ControlTemplate,not talking about scopes above.That's VERY frustrating IMO,of course there's reasons for such decision BUT! some option must exists to override such (not very useful) behavior.Please,fix it for next release!!!
Thanks a lot.
[393 byte] By [
XASD] at [2007-12-17]
Have you tried placing the resources in their own dictionary, then merging that dictionary into the template as required? While technically you are duplicating the dictionary entries in multiple places, it will get you a single source location for the content, and if they are clever it might only be duplicating the pointers rather than the resources themselves.