Custom control that can contain other controls
C#
2
Posts
2
Posters
0
Views
1
Watching
-
Hi! I would like to make a control that can contain other controls. I know how to accomplish this by inheriting the Panel. Next problem is how to reserve parts of the control for headers etc., ie restrict the ClientRectangle to a part of the control. Is this possible. BR Christian
-
Hi! I would like to make a control that can contain other controls. I know how to accomplish this by inheriting the Panel. Next problem is how to reserve parts of the control for headers etc., ie restrict the ClientRectangle to a part of the control. Is this possible. BR Christian
There may be other ways to do this. What if you change the location of the child control in the ControlAdded event if the child control is drawn in the Header area.