Control : Grid
![]()
Contents |
Description
The Grid control is a Layout Manager that allows form elements to be aligned in a grid fashion, with rows and columns.
The Grid container has walls dividing cells, like a table. Walls can be added or removed, dividing or merging cells of the Grid. If you move a mouse over a dividing wall between two cells, a small box appears on the dividing wall with a minus in it (or a plus, if the cells have been merged). Clicking on this box will remove the wall, merging the cells.
For most controls, the cells of a Grid will automatically size themselves to the size of the control (or the size of the largest control in the column/row). You can change the properties for the columns and rows by clicking the small green arrows in the rulers above and to the left of the form.
Note When breaking down walls in the Grid control to create a single empty container with no walls at all, you are best served by using the small green arrows on the edges of the form, since the interaction of the clues for adding and removing walls may lead to a clash in the center of the Grid, making it difficult to remove the final wall.
How To
For a detailed example of how to use the control, see the Task List tutorial.
Associated Data Types
- None
Associated Interface Types
- None
Required Adapter Types
- None
Associated Properties
Specialized Properties
Unique Properties
- None



