DocumentPane Border Colors

Jun 9, 2009 at 6:48 PM

I added color-support to AvalonDock. I can change nearly all the colors by a command like "_dockingManager.ChangeColors(Colors.Lime);".

The only colors not changed are the Borders of the DocumentPane and I can not find the color information.

Can anyone help me?


Best regards,


Jun 10, 2009 at 8:48 AM

Ok, I found it in "aero.normalcolor.xaml".
Is there a reason why the colors for the borders are not styled like the others in the brushes-file?

And there is no entry in AvalonDockBrushes class for these values.
My idea was to add a "ColorFactory" class to implement color-support for AvalonDock. For all parts it works but not for the
borders without changing the theme-files. To fix this I have to change some parts in "aero.normalcolor.xaml", "aero.normalcolor.brushes.xaml" and "AvalonDockBrushes.cs".

Is there a chance to get this fixed in a future version?