Right now there is no way to inherit the style from base views. So if you create a new view MyButton that derives from Button, it won't get any of the styles belonging to Button applied. So we want to:
1 - Be able to specify base classes using the BasedOn attribute in styles:
<MyButton Style="SomeStyle" BasedOn="SomeButtonStyle" ... />
2 - (perhaps) Have the framework automatically apply all styles belonging to Button on MyButton views as well (if they match). On first glance implicit inheritance seems like a good idea.
Right now there is no way to inherit the style from base views. So if you create a new view MyButton that derives from Button, it won't get any of the styles belonging to Button applied. So we want to:
1 - Be able to specify base classes using the BasedOn attribute in styles:
<MyButton Style="SomeStyle" BasedOn="SomeButtonStyle" ... />2 - (perhaps) Have the framework automatically apply all styles belonging to Button on MyButton views as well (if they match). On first glance implicit inheritance seems like a good idea.