Bastian Schmidt
Bastian Schmidt
This also started to happen on my machine like a week ago. It's does not seem to be isolated to WPF as it also happens with Edge. See (increased gif...
@torum As i already wrote above, this is not a pure WPF issue. The underlying problem is caused by Windows itself. ControlzEx has code to mitigate the white flash and...
> If the element being implicitly styled is not a subclass of Control, the implicit style lookup will not look beyond the templated parent’s template. (This is so users do...
@dipeshmsft And the next user being confused about this restriction. See #9029 Can't we just add a lookup for the current Window also? Implicit style lookup, in this case, jumps...
The default should come from Application.Current, if there is one. I don't think getting it from the parent window is a good idea.
@dipeshmsft Only having it at the application level won't be enough for all use-cases, i think.
I think Application and Window should be enough.
@dipeshmsft That only that one specific window, and thus it's content, changes it's theme.
@MichaeIDietrich That's exactly what i would have said. And we must not forget that WPF has to compete with MahApps.Metro, MaterialDesignInXAML, WPFUI, Fluent.Ribbon, ControlzEx etc. all of those allow changing...
@miloush Another argument for having it at least at the window level: What should i do if i don't have an application object? That's often the case for unit tests...