Skip to content

Inherting the styles from base views #65

Description

@patrik-u

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions