Show dummy splash screen var dataContext = (SplashScreenDataContext)RadSplashScreenManager.SplashScreenDataContext ĭataContext.Content = "Loading Application" Protected override void OnStartup( StartupEventArgs e) / /// Interaction logic for App.xaml /// public partial class App : Application This is the code how I try to adapt the theme: My expectation was that I see a lot of red. When I execute the program, Fluent theme looks normal (blue color, See screenshots). My test change to Fluent theme is that I change every color to red. Pasted the code next to theme setting from 1 (tried both, before and after setting theme) Splashscreen and NavigationView appear in Fluent theme.Ģ: I used color theme generator ( Color theme generator) to adapt the colors and copied generated code to clipboard. Source code of this test program is attached.ġ: I set Fluent theme as the theme of the application (according to Setting a theme using stylemanager). To exclude any side effect related to my application I created a new WPF program (.Net Core 5) that just contains a Splash screen and a NavigationView to check if the theme settings are applied. Unfortunately it seems my changes are ignored. In my application I try to change the colors from Fluent theme globaly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |