Skip to content

GridRow

interface cAlgo.API

DesktopCLICloud

Represents the row of the grid.

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

public interface GridRow

Namespace: cAlgo.API · Group: Grid

Examples

var grid = new Grid(2, 1) { ShowGridLines = true, Height = 120 };
GridRow headerRow = grid.Rows[0];
headerRow.SetHeightInPixels(30);
grid.Rows[1].SetHeightInStars(1);
grid.AddChild(new TextBlock { Text = "Header" }, 0, 0);
Chart.AddControl(grid);
grid = Grid(2, 1)
grid.ShowGridLines = True
grid.Height = 120
headerRow = grid.Rows[0]
headerRow.SetHeightInPixels(30)
grid.Rows[1].SetHeightInStars(1)
header = TextBlock()
header.Text = "Header"
grid.AddChild(header, 0, 0)
api.Chart.AddControl(grid)

Methods

Name Description
SetHeightInPixelsDesktopCLICloudvoid Sets the height of the grid row in pixels.
SetHeightInStarsDesktopCLICloudvoid Sets the height of the grid row in stars.
SetHeightToAutoDesktopCLICloudvoid Sets the height of the grid row to automatic.

Properties

Name Description
HeightDesktopCLICloudGridLength Gets the height of the grid row.
IndexDesktopCLICloudint Gets the grid row index.
MaxHeightDesktopCLIClouddouble Gets or sets the maximum height of the grid row.
MinHeightDesktopCLIClouddouble Gets or sets the minimum height of the grid row.

See also