Welcome to the WPF feedback portal. We’re happy you’re here! If you have feedback on how to improve the WPF, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Hi,

There appears to be an issue with using a theme of the DockingContainer Tab when utilizing Window.Show inside OnStartup in App.xaml.cs ​instead of setting StartupUri ​in the xaml when running a newer version than 23.1460.36.0

When running with shell.Show() ​the theme is not correctly applied to documents when added dynamically.

I've tried to find anything in the release notes that could point to why it does not work anymore when updating the version but I cannot find anything.

Any thoughts on what's wrong?

Reproduction steps

  1. Clone  https://github.com/SyncfusionExamples/working-with-wpf-docking-manager-and-mvvm/tree/master 
  2. Do the following changes: (Note: It's a picture because it didn't allow all these characters)
    Image_8844_1729853960696

  3. Run the application
  4. Open a document
    1. Control + O
    2. Select a text file
  5. Result can be seen below. Notice the incorrect styling on the document header.
Note: The theme is not the same as in the sample code, that's because I changed it to check if it was a problem with the theme. The theme in the screenshot is Office2019Colorful

Image_8741_1729851733821
Notes

When loading the shell with StartupUri then the theme is correctly applied, because of this step 2 + 3 is very important

When loading initial documents, then the theme is aslo correctly applied. Because of this step 2.4 is very important, otherwise the theme is correctly applied.

When moving a document into Window state and then back to Document ​state the theme is correctly applied