The C1Elastic Control > Using the Grid Mode > Grid Mode Reference |
The Elastic has six properties that affect its behavior in Grid mode:
This property must be set to 8 - azGrid.
These properties must be set to the number of rows and columns that the grid is supposed to have. When you first set these properties, the rows and columns have the same size. You may modify the number, size, and properties of each grid row and column using the design-time mouse commands discussed later. Or, you may have the Elastic automatically generate the grid for you based on an existing control layout.
This property allows you to set and retrieve grid properties at run time. You may resize rows and columns, create new divisions, create splitters, and so on.
These properties affect the grid as well as the other sizing modes. BorderWidth determines the distance between the edges of the control and its client area, and ChildSpacing determines the distance between adjacent controls.
The diagram below shows the effect of all these properties: