Resizing Displayrectangle

N

Nader

Hi,
Im writing an Application in C# and am placing controls on a panel.
When placing controls right or below the Displayrectangle, the
Displayrectangle is automatically resized to enclose the new controls.
However when placing new controls above or left of the
displayrectangle, it is not resized to enclose the new controls. One
option would be to move all other controls to the right to make space
on the left but that will work out negatively on performance.
Is there a way to make the Displayrectangle grow and schrink
automatically? Using RightToLeft Layout also didnt work.

thanks
nader
 
N

Nader

Its not the Anchor or Dock property. Tried different achoring, also no
anchoring. It didnt work

nader
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top