Sets or returns the size of a split.
Syntax
object.Size [= value]
The Size property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
value | An integer expression that specifies the size of the split. |
Remarks
The meaning of the value returned by this property is determined by the split's SizeMode property setting.
If SizeMode is set to the default value of 0 - Scalable, the value returned by the Size property is an integer indicating the relative size of the split with respect to other scalable splits.
If SizeMode is set to 1 - Exact, the value returned by the Size property is a floating point number indicating the exact size of the split in terms of the coordinate system of the grid's container.
If SizeMode is set to 2 - Number of Columns, the value returned by the Size property is an integer indicating the number of columns displayed in the split.
Note When there is only one split (the grid's default behavior), the split spans the entire width of the grid, the SizeMode property is always 0 - dbgScalable, and the Size property is always 1. Setting either of these properties has no effect when there is only one split. If there are multiple splits, and you then remove all but one, the SizeMode and Size properties of the remaining split automatically revert to 0 and 1, respectively.