To prep and change themes the documentation says to do following in app.OnStartup
.. create and register the custom stuff
and indeed AFTER the EndUpdate I read the correct values for the 1048 AssetResourceKeys...
But I've got an eventhandler for the CurrentThemeChanged event. And that will read the old values as the event appears to be raised before the changes have been applied and written to Application.Current.Resources.MergedDictionaries(0).MergedDictionaries(0)
Am I missing something? When using the Begin/EndUpdate construct you'd expect the event to be raised AFTER the changes have been applied. Or should the code sample be amended, with the CurrentTheme being set after the EndUpdate?