Skip to content

DetachedWindow.MinWidth

property · DetachedWindow · cAlgo.API

DesktopCLICloud

Get / Set the window minimum width

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 MinWidth {get; set;}
detachedWindow.MinWidth: float

Returns double

Examples

var block = Asp.SymbolTab.AddBlock("Signals");
block.DetachedWindow.MinWidth = 250;
Print("Detached window minimum width: {0}", block.DetachedWindow.MinWidth);
block = api.Asp.SymbolTab.AddBlock("Signals")
block.DetachedWindow.MinWidth = 250
api.Print(f"Detached window minimum width: {block.DetachedWindow.MinWidth}")