Custom TabPage w/Visual Designer
.NET (Core and Framework)
1
Posts
1
Posters
0
Views
1
Watching
-
I am using Visual Studio 2005 with C#. In my application, I have a TabControl. I want to dyncamically add TabPages at runtime. This would be just a matter or instantiating the additional TabPages and adding them to the TabPages collection of the TabControl. However, I want to customize the functionality of the TabPages a bit by creating my own TabPage subclass. Also, I want to be able to add the very first of these custom tab pages with the Visual Designer. Normally, I understand that to create a control that can be added using the Visual Designer, I must subclass something like UserControl. But I already need to subclass TabPage. How do I solve that? Thanks! Mark