Any way to override the style from code?
Posted: 30 Apr 2019, 14:28
Hi guys,
so we're making a moddable game and one of the requests is—API to override a certain Style resource with another Style resource (from another resource dictionary or created right in the code). Is there any way to do this?
We have a fairly monolithic DefaultStyles.xaml file so overriding it completely is not a great idea, especially if there will be many mods all requiring to override some styles in it.
Regards!
so we're making a moddable game and one of the requests is—API to override a certain Style resource with another Style resource (from another resource dictionary or created right in the code). Is there any way to do this?
We have a fairly monolithic DefaultStyles.xaml file so overriding it completely is not a great idea, especially if there will be many mods all requiring to override some styles in it.
Regards!