After writing my application I started testing different scenarios. When I changed my theme background from dark to light from system settings, some of the controls in the pages changed color accordingly. As I am using ThemeResources that is a normal behavior but that made the pages quiet unusable as most of them were designed according to a dark background.
So I started searching the net about themes in order to implement my own theme and fix the issue. Unfortunately I was unable to find a good solution after my research and stuck with some questions about creating custom themes for my application.
Firstly is there a way to override the system theme. For example even though user selects the light theme can I apply the dark theme in my application. I want to support system themes in the future but not in the beginning so being able to do that would ease my work greatly.
Secondly what is the best way of creating a new theme. While searching for a solution I read that copying a whole theme from generic.xaml and working on it with a new key is an easy solution. Is it OK to that, is it a good practice?
Lastly if I create multiple themes, say blue and red, is there a way to fetch these theme names programmatically using C#.
As always thanks for all your helps.