How to wrap content

Demonstrates how to wrap contents of the FlowLayoutPanel. The app contains FlowLayoutPanel with many buttons, ' WrapContents' CheckBox and 'FlowDirection' ComboBox. Number of buttons is more than the panel may contain in one line. If we check the CheckBox you will see that controls are placed in two rows. If we uncheck the CheckBox, you will see that controls are placed one row and some controls are not visible and placed outside of the panel. If you change selected value in the 'FlowDirection' ComboBox, you will see changing flow direction of buttons on the FlowLayoutPanel.

Zip package for C# download file
Zip package for VB.NET download file
File name: WrapContentsPage_KB001download file
File name: WrapContentsPage.csdownload file
File name: WrapContentsPage.vbdownload file
File name: WrapContentsPage.designer.csdownload file
File name: WrapContentsPage.designer.vbdownload file
File name: WrapContentsPage.resxdownload file