height property

int height

Number of rows in the grid, and the upper bound for the y-coordinate.

Always non-negative.

Implementation

int get height;
void height=(int value)

Sets the number of rows in the grid.

The behavior of this method is as follows:

  • If the grid would shrink, elements outside the new bounds are removed.
  • If the grid would grow, the new elements are filled with empty.

The height must be non-negative.

Implementation

set height(int value);