notanaverageman / Bindables

Bindables converts your auto properties into Wpf dependency or attached properties.
MIT License
52 stars 9 forks source link

Explicitly inherits in code behind if XAML used #29

Open mirekjuszczak opened 1 year ago

mirekjuszczak commented 1 year ago

When we use XAML, we have to explicitly inherit in partial in code behind, even though it is not necessary.

If class ClassA inherits from ClassB and ClassB inherits from ClassC, then we have to explicitly provide inheritance in and of class ClassA and ClassB, just because of the generator requirement.

It would be better, don't add explicitly inherit in code behind then.