I am trying to make my UWP (Windows 10) application to have option for dynamic theme change.
I have added a toggle button, that should toggle dark/light theme. But I have managed to change only on the current page, as soon as I navigate to other page the theme is returned to default one. The code goes like this:
RequestedTheme = toggleButton.IsChecked.Value ? ElementTheme.Light : ElementTheme.Dark;
Also, I would like to make my own light and dark theme.
Is there any easy solution for this?
Thanks