C# Flow Layout Panel Line break or New line

dps123 picture dps123 · Feb 20, 2011 · Viewed 15.7k times · Source

I am adding some controls to Flow layout panel. In between some controls I need a line break. How can I achieve this please. Thanks

Answer

John Hatton picture John Hatton · Jul 13, 2011

After adding the last control before the break, call flow.SetFlowBreak(lastControl, true).

Note: lastControl is the control that you want set new line after that.