Skip to content

AspTab.Child

property · AspTab · 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;}
aspTab.Child: ControlBase

Returns ControlBase

Examples

var tab = Asp.AddTab("My Tab");
var panel = new StackPanel();
panel.AddChild(new TextBlock { Text = "Tab content" });
tab.Child = panel;
tab = api.Asp.AddTab("My Tab")
panel = StackPanel()
textBlock = TextBlock()
textBlock.Text = "Tab content"
panel.AddChild(textBlock)
tab.Child = panel