Windows Forms LayoutManagers Overview
28 Apr 2021 / 1 minute to read
GridLayout is a layout manager. It allows you arrange the child controls in a grid that contains rows and columns. By deriving from the layout manager base, the GridLayout inherits all the functionalities that the LayoutManager type exposes. In its simplest form, this layout manager can be used to automatically arrange the child components in one or more rows.
Rows and Columns: Provide an option to customize row and column span of the child controls.
HGap and VGap: Provide an option to set the gaps between child controls such as horizontal and vertical direction.