ControlBase.Height
property · ControlBase · cAlgo.API
DesktopCLICloud
Gets or sets the hight of the chart control.
Environment behaviour
CLI — not supported. Accepted without error but never displayed, so control events such as Click are never raised.
Cloud — not supported. Accepted without error but never displayed, so control events such as Click are never raised.
Definition
public double Height {get; set;}
controlBase.Height: float
Returns double — The height.
Examples
var border = new Border { BackgroundColor = Color.DarkSlateGray, Width = 200, Height = 80 };
Chart.AddControl(border);
Print("Height: {0}", border.Height);
border = Border()
border.BackgroundColor = Color.DarkSlateGray
border.Width = 200
border.Height = 80
api.Chart.AddControl(border)
api.Print(f"Height: {border.Height}")