ThemeManager.ChangeTheme missing in v8.0.3
See original GitHub issueThe styles documentation says:
// now set the Green color scheme and dark base color
ThemeManager.ChangeTheme(Application.Current, "Dark.Green");
But there does not appear to be any ThemeManager static method anymore. There is an instanced method at ControlsEx.Theming.ThemeManager
, but I’m getting a runtime error when I try this code:
var manager = new ControlzEx.Theming.ThemeManager();
manager.ChangeTheme(this, "Dark.Cobalt");
System.ArgumentNullException: 'Value cannot be null. (Parameter 'newTheme')'
It appears to have chosen this overload, despite the fact that I passed it a string for the second param:
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Using MahApps IconPacks for BackstageTabItem's icon #782
Not sure if this is an issue or just something i'm missing. I'm using both Fluent.Ribbon and MahApps IconPacks for a project
Read more >Index of Desktop Environments - Gentoo Forums
[SOLVED]" Page:1 · "missing icons in pcmanfm-qt" Page:1 ... USB drive after update" Page:1 · "[SOLVED] Gnome Keyring lost GPG support after update"...
Read more >Untitled
Servers de minecraft 1.8 original, Hinigaran love song remix beat, Update form php ... Mx880 driver scanner, Piaui esporte clube facebook login, Lost...
Read more >#ubuntu.txt
[00:17] <narimanmm> change idle time for auto dim anyone??? ... I am constantly missing IMs because I didn't see them [02:39] <carandraug> ...
Read more >Videoder apk direct for pc
environmentObject(_:) for UrlConnect may be missing as an ancestor of this view ... android capture view and animation android change checkbox android check ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Uh, i totally forgot to update the documentation after releasing v8.
You have to use
ControlzEx.Theming.ThemeManager.Current
to make it work. Will update the documentation as fast as i can.Changelog is also more clear about these changes now. Thanks for bringing this up.