locked
Best practices for implicit templates that use ThemedResources RRS feed

  • Question

  • this is a follow on to my earlier post... two questions

    1. What, precisely, is the look up path for resources reference within an implicit control template versus an explicit one?  The sample provided in the link from my earlier post clearly shows it's different.

    2. How are people handling this discrepancy? Do I need to put all my implicit templates in one file (like generic.xaml) and then merge in my theme dictionaries there, even though those same are already part of the App.xaml?

    I still feel like something is broken here, and I noticed a new post just this morning that dances around a similar topic.

    Monday, February 23, 2015 3:34 PM

All replies

  • Hi Jim,

    I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.

    Thank you for your understanding.

    Best Regards,
    Franklin


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, February 24, 2015 8:43 AM
    Moderator
  • Thanks, I appreciate your taking time to find the precise answer. Just today this bit me again.

    I have a need to modify the ComboBox template to italicize placeholder text.  That's a easy thing to do; however, now that I've created a new template I have to name it and add a Style={StaticResource MyNewStyle} to ALL the comboboxes in my app.  If I leave my new template unnamed - to override the default - none of the theme resource changes that I already have in place are picked up by the existing ComboBoxes, and they revert to their default look.

    There's clearly something wrong in the way I'm doing it or the way it's implemented.

    Wednesday, February 25, 2015 9:19 PM