DetachedWindow.ResizeMode
property · DetachedWindow · cAlgo.API
DesktopCLICloud
Get / Set the window resize mode
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
ResizeMode ResizeMode {get; set;}
detachedWindow.ResizeMode: ResizeMode
Returns ResizeMode
Examples
var block = Asp.SymbolTab.AddBlock("Signals");
block.DetachedWindow.ResizeMode = ResizeMode.NoResize;
Print("Detached window resize mode: {0}", block.DetachedWindow.ResizeMode);
block = api.Asp.SymbolTab.AddBlock("Signals")
block.DetachedWindow.ResizeMode = ResizeMode.NoResize
api.Print(f"Detached window resize mode: {block.DetachedWindow.ResizeMode}")