Microsoft Communities

Welcome to WindowsClient.net | Sign in | Join

Here are some frequently asked questions about Windows Forms and their answers.

Windows Forms FAQs

How do I move a docked control around in a form or change the dock order?

You cannot move it via drag-and-drop. But you change its position or dock order by selecting the "Bring To Front" or "Send To Back" verbs in its context menu. "Bring To Front" will move it to the top of the children list and "Send To Back" will move it to the last of the children list. This is possible because the docking logic will be applied on the children in the order in which they appear in the child controls list.

Contributed from George Shepherd's Windows Forms FAQ



Page view counter