ComponentOne Sizer 8.0
Grid Mode Reference

The Elastic has six properties that affect its behavior in Grid mode:

AutoSizeChildren

This property must be set to 8 - azGrid.

GridRows and GridCols

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.

Grid

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.

BorderWidth and ChildSpacing

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:

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback