Question Container region of a panel

bufer24

Active member
Joined
Mar 27, 2008
Messages
35
Programming Experience
3-5
Hi, is there a way to make a user control (similar to panel) that has a custom container area? Ordinary panel has a container area that is almost the same size as the panel itself, and I don´t know a way to change it. The new control should have a container area (where I can place other controls) that has a custom size and location, for example only a half of the controls area.
 
One way to achieve this is to override the DisplayRectangle Property. Take a look at the documentation in MSDN to see if it suits your needs.
 

Latest posts

Back
Top