Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inherting the styles from base views #65

Open
patrik-u opened this issue Sep 9, 2016 · 0 comments
Open

Inherting the styles from base views #65

patrik-u opened this issue Sep 9, 2016 · 0 comments
Labels

Comments

@patrik-u
Copy link

patrik-u commented Sep 9, 2016

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.

@patrik-u patrik-u added the task label Sep 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant