Pregunta

In winforms I am trying to setup 4 panels docked: top, left, right and middle. But when I dock the top and try to dock another panel on the left, that left panel overlays the top panel..Am I doing something wrong there? is there another way of docking several panels?

¿Fue útil?

Solución

You may need to be careful to not drop the panels into any of the other panels before selecting their docking property, or they will assume that the panel they were dropped into is their parent.

I created the setup you see below by simply using 4 panels, each one dropped individually and then assigned the correct docking attribute. I made sure when I dropped them to drop them in space that was currently not used by any existing panels.

I'd assume this is what you are after, correct?

enter image description here

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top