Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Flyout style from Accent to Light is not working #2337
In my code, I have a flyout called modalFlyoutRight defined in my MainWindows.xaml, which I then use from child elements in the following form:
Window parentWindow = Window.GetWindow(this); object obj = parentWindow.FindName("modalFlyoutRight"); Flyout flyout = (Flyout)obj; flyout.Theme = FlyoutTheme.Light; flyout.Content = ...
I use the same flyout for different content, and style it with both light and accent themes. When I go from Light -> Accent, all works, but from Accent to light the background remains in the Accent color. Maybe some properties are not explicitly set when selecting the light theme?