Usercontrol with Panel, need to act as container in IDE
Posted on 2006-04-26
I have a UserControl with a Label, docked to the top, and a Panel, docked to fill the rest of the control space.
Once the control is compiled and dropped onto a form I am unable to treat the Panel within the UserControl as a container, as i would be able to if i placed a Panel directly on the form, with a Label and another Panel within (same set up as the UserControl).
How would I go about enabling this functionality.
I have tried
setting the Modifier for the Panel in the UserControl to Public
inheriting from Panel rather than UserControl
Any and all information would be greatly appreciated