I am dynamically adding controls to my form with Dock = DockStyle.Top. I want subsequent controls to appear below the existing ones. By default, each new control added goes to the top. Is there an easy way to do this?
Edit: I am adding these controls at run time, not design.
It never fails. I just discovered an answer myself, but for anyone else who finds this question later, the answer was to call
.SetChildIndex(ctrl, 0)on the container.