This project is read-only.

[Version 2.0] Global style overrides without DockingManager setters

May 28, 2012 at 6:21 PM
Edited May 28, 2012 at 6:22 PM

Firstly, a deep thank you for the work you have put into Avalon Dock. It is a huge boon to the community. You should post a donation link!

While trying to style the controls, I have found that the majority of the controls are assigned styles/templates through property setters on their parent controls (DockingManager, for example, has a 'DocumentPaneControlStyle' property). 

Since most of the control types are 'use-specific' and not re-used for multiple purposes, would it not be better for the controls to inherit a 'non-keyed' global style override for each Control Type rather than need to explicitly define them and set them at the parent? This way smaller customizations would be simpler to implement and not require as intimate a knowledge of the containers and setters on those containers.

I am likely missing something and there is probably a good reason for doing it the current way. If so, could you let me know the reasoning?

Thanks again!