The C1Elastic Control > Using the Grid Mode > The Grid Context Menu |
Each grid row and column has a set of properties that govern its run time behavior. To edit these properties, press and hold the control and shift keys, then click on a division.
You will see the Grid context menu, which looks like this:
Depending on which row or column you click, certain options might be disabled. The menu has five options:
This option toggles the Fixed Spacing status of the row or column that was clicked. By default, Fixed Spacing is off, which means that the row or column is resized proportionally whenever the control is resized.
If you set Fixed Spacing to true, then the row or column retains its size when the control is resized.
Rows and columns with fixed spacing are indicated visually at design time by red padlock icons.
This option toggles the Splitter status of the row or column that was clicked. By default, Splitter is off.
If you set Splitter to true, then the user will be able to move that grid element at run time, thereby resizing controls on the form. The range of each splitter is determined by the adjacent rows.
Splitter rows and columns are indicated visually at design time by gray bars.
This option inserts a division to the right or below the division that was clicked.
This option deletes the division that was clicked.
This option removes all grid divisions that do not have any controls bound to them. The main use for this option is when you start your design with a dense grid, for flexibility, and then wish to remove the extra divisions that are not being used.