You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ThemeResource bindings in ResourceDictionary not re-evaluated on runtime changes #3644
When the application first loads, the "MyBrush" resource gets evaluated and its value reflecting the application's initial theme is stored in _values field in ResourceDictionary.cs.
When theme changes at runtime (caused by application theme change or element-level theme change), the values don't get re-evaluated, so calling TryGetValue with a different theme will just return the "obsolete" value (on this line).
Expected behavior
The requested theme should apply to the resources with ThemeBinding as well.
How to reproduce it (as minimally and precisely as possible)
Activity