C# Flow Layout Panel Line break or New line

╄→尐↘猪︶ㄣ 提交于 2019-12-04 23:33:28

You need a custom control which resizes itself to the end of a flow panel, and has a zero height / width, depending upon the flow direction of a flow panel

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.

Zyo

The best answer is by far the comment made by Brian Gillespie:

Set FlowBreak from the VS2010 GUI: Scroll to the bottom of the PropertyPanel for the control before the line break, and set FlowBreak to True.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!