Reputation: 12463
The full .Net framework has an inherited UserControl but this option isn't offered by Visual Studio when creating a new control in a Compact Framework project.
Manually changing the ancestor class of a user control to another user control results in an exception being thrown by the designer when subsequently trying to open it.
Anyone know if user control inheritance is possible?
Upvotes: 1
Views: 1268
Reputation: 67178
I have some notes on CF UserControls in this blog entry. The short of it is "Unless you plan to be a control vendor don't bother wasting your time even trying to get designer support working."
Upvotes: 1
Reputation: 50225
I've had success running inherited controls but absolutely none within the designer. I've had to set the parent as Control to use the designer and then set it to my parent control prior to deploying (after closing the designer).
Upvotes: 0