I'm making a base form (WinForm) to use like a blueprint for my general form design, I want the panel (P_Content in the screenshot) to be where controls are put in the Child Forms.
But said P_Content is locked in the child forms, adding controls in the code obviously works but it does not in Design View.
The panel is public and so is its parent containers (TableLayoutPanel
).
This seems really basic but I can't seem to find any answer why this is happening.
P_Content being the big empty space.
Panel
in aTableLayoutPanel
. According to the documentations you should avoid visual inheritance forTableLayoutPanel
. TheTableLayoutPanel
control does not support visual inheritance in the Windows Forms Designer. ATableLayoutPanel
control in a derived class appears as "locked" at design time. – Nope