DetachedWindow.Top
property · DetachedWindow · cAlgo.API
DesktopCLICloud
Get / Set window top margin (Y)
Environment behaviour
CLI — not supported. Values start at 0 and are only stored in the algo; no window is read or changed.
Cloud — not supported. Values start at 0 and are only stored in the algo; no window is read or changed.
Definition
double Top {get; set;}
detachedWindow.Top: float
Returns double
Examples
var block = Asp.SymbolTab.AddBlock("Signals");
block.DetachedWindow.Top = 150;
Print("Detached window top: {0}", block.DetachedWindow.Top);
block = api.Asp.SymbolTab.AddBlock("Signals")
block.DetachedWindow.Top = 150
api.Print(f"Detached window top: {block.DetachedWindow.Top}")