Hi
I have to create multiple User controls. Since all the user controls share some common functionality I want them all to extend some base class. The problem is when I create a user control in visual studio, I get three files. .cs, .xaml and .g.cs(when using xaml and c#). When I change the base class of the partial class defined in .cs file, I have to do the same for the class defined in the .g.cs file, since partial classes have to have the same base class. The problem is that the .g.cs file is auto-generated by VS and gets changed every time the content of the xaml file is re-compiled. Does anybody has know a good way around this problem? Any idea will appreciated!
Uros Bregar