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.
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.