GridLength.Value
property · GridLength · cAlgo.API
DesktopCLICloud
Gets or sets the value.
Definition
public double Value {get;}
gridLength.Value: float
Returns double
Examples
var grid = new Grid(1, 2);
grid.Columns[0].SetWidthInPixels(120);
var width = grid.Columns[0].Width;
Print("Column width: {0} {1}", width.Value, width.UnitType);
grid = Grid(1, 2)
grid.Columns[0].SetWidthInPixels(120)
width = grid.Columns[0].Width
api.Print(f"Column width: {width.Value} {width.UnitType}")