Lets say I have a usercontrol that is basically a button, set up in XAML. Would it be possible for that button to get its background color from a different usercontrol class in a different file, so that it is changeable during runtime?
All I found from google is talk on themes and how they all want to refer to a theme file or the main window but I didn't find either of them useful because for one, I wouldn't have the slightest idea on how to change the theme file during runtime (if its even possible) and second, I plan to use these controls I'm buildings in other projects too so i don't want them to rely on anything to do with the main window.