default theme

Aug 8, 2009 at 9:51 PM

Maybe it's a stupid question, but I need to know what the default theme of AvalonDock is.

I need this to add some methods for changing direct colors of the used theme.
If there is the default theme active I can not receive it to change the keys.
So I have to recreate and add it to the MergedDictionaries.

Or is there another way to get the ResourceDictionary of the default theme?


Aug 9, 2009 at 11:07 AM

ok, it's aero.normalcolor .

I Changed ColorFactory class to make it possible to change single brushes inside a base theme.
I added also a ChangeTheme method to change only the theme without changing the colors.
I fixed some problems with res.Source statements. Somtimes it happens that the Source value
is null. In that case the application crashed.

I uploaded it and hope in the next version it's in.

Best regards,