After further testing my restyled RadDocking I encountered some nasty problems.
The style of a RadDocking is applied many times. Because the header is created dynamically I only could make one global style for the header in which I made the header background grey. Once a RadDocking is loaded I give the background the gradient color I want, and the global headerstyle I made stores this backgoundcolor as the header backgroundcolor.
So If I give the background the gradient color I want my Docking initially looks good, but after some docking actions the style is applied again, and then I have a grey header again. So I need to know precisely when the style is applied again, then I can set the background again to the gradient color I want.
When the Dockings are tabwise stacked only one header is visible, but. I can't figure out which headers are visible. The ActivePane isn't always the visible pane, and the headerVisible property doesn't change when a docking ends up in a tabwise stack.
Furthermore when a Pane is docked in a sidebar and is animated back into the application I can set the background color during this animation, but then this color isn't displayed.
When the pane is outside the application window you can form a tabwise stack again. Then I lose control over the header color because there are multpile headers..
If I have some event on which I can change the background this can be fixed, but I can't figure out if this is possible or how to do this.
Any tips are very much appreciated because I'm stuck here.
An example project showing what I mean can be downloaded here