GridRow.MaxHeight
property · GridRow · cAlgo.API
DesktopCLICloud
Gets or sets the maximum 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
double MaxHeight {get; set;}
gridRow.MaxHeight: float
Returns double
Examples
var grid = new Grid(2, 1);
grid.Rows[0].SetHeightToAuto();
grid.Rows[0].MaxHeight = 50;
Print("Maximum height: {0}", grid.Rows[0].MaxHeight);
grid = Grid(2, 1)
grid.Rows[0].SetHeightToAuto()
grid.Rows[0].MaxHeight = 50
api.Print(f"Maximum height: {grid.Rows[0].MaxHeight}")