GridRow.SetHeightInStars
method · GridRow · cAlgo.API
DesktopCLICloud
Sets the height of the grid row in stars.
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
void SetHeightInStars(double stars)
gridRow.SetHeightInStars(stars: float) -> None
Parameters
| Name | C# type | Python type | Description |
|---|---|---|---|
stars | double | float | The stars. |
Examples
var grid = new Grid(2, 1) { Height = 150 };
grid.Rows[0].SetHeightInStars(1);
grid.Rows[1].SetHeightInStars(2);
Chart.AddControl(grid);
grid = Grid(2, 1)
grid.Height = 150
grid.Rows[0].SetHeightInStars(1)
grid.Rows[1].SetHeightInStars(2)
api.Chart.AddControl(grid)