TradeWatchTab.Child
property · TradeWatchTab · cAlgo.API
DesktopCLICloud
Get / set content of current tab.
Environment behaviour
CLI — not supported. Available to plugins only, and plugins cannot run in the CLI.
Cloud — not supported. Available to plugins only, and plugins cannot run in the cloud.
Definition
ControlBase Child {get; set;}
tradeWatchTab.Child: ControlBase
Returns ControlBase
Examples
var tab = TradeWatch.AddTab("My Tab");
var panel = new StackPanel { Orientation = Orientation.Horizontal };
panel.AddChild(new TextBlock { Text = "Tab content" });
tab.Child = panel;
tab = api.TradeWatch.AddTab("My Tab")
panel = StackPanel()
panel.Orientation = Orientation.Horizontal
textBlock = TextBlock()
textBlock.Text = "Tab content"
panel.AddChild(textBlock)
tab.Child = panel