GridRow.Height
property · GridRow · cAlgo.API
DesktopCLICloud
Gets the height of the grid row.
Environment behaviour
CLI — not supported. Never available in the CLI: it is only returned by members that do not work there (Grid.AddRow, Grid.Rows).
Cloud — not supported. Never available in the cloud: it is only returned by members that do not work there (Grid.AddRow, Grid.Rows).
Definition
GridLength Height {get;}
gridRow.Height: GridLength
Returns GridLength
Examples
var grid = new Grid(1, 1);
grid.Rows[0].SetHeightInPixels(40);
Print("Height: {0} {1}", grid.Rows[0].Height.Value, grid.Rows[0].Height.UnitType);
grid = Grid(1, 1)
grid.Rows[0].SetHeightInPixels(40)
api.Print(f"Height: {grid.Rows[0].Height.Value} {grid.Rows[0].Height.UnitType}")