The sizes of the rows of the grid as a comma-separated list of grid sizes.

Can not be used together with RowCount.

Grid sizes are denoted as follows:

  • Plain numbers, e.g. 100 means a fixed size of 100 points (device independent pixels).
  • auto indicates that the row/column should take up the smallest possible size that contains content elements.
  • Numbers postfixed with * denote a proportional ratio of the remaining space after all fixed size and auto rows/columns are subtracted.

Example of a Grid with 3 rows where the first two each occupy 20% of the available space, and the last one occupies 60%:

<Grid Rows="1*,1*,3*"/>

The sizes here are calculated by first summing all the values (1+1+3 = 5). Then we divide our value by the total (1/5 = 20%, 1/5 = 20%, 3/5 = 60%).

Example of a Grid with 4 rows where the first row is 100 points wide, the next row takes as much space as needed (auto), and the last two rows share the remaining space with a 1:2 ratio:

<Grid Rows="100,auto,1*,2*" />

Location

Namespace
Fuse.Controls
Package
Fuse.Controls.Panels 2.9.1

Returns

string