For the window style does not apply you can check out the solution here Windows Style from ResourceDictionary don't apply
And as for the inconsistency theres nothing you can do to avoid it. Since the designer is doing some static analysis and make the best guess of what will show up, but in reality the load order is never that easy to predict.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.