TabItem constructor
constructor · TabItem · cAlgo.API Since 5.2
DesktopCLICloud
Initializes a new instance of the TabItem class.
Environment behaviour
CLI — not supported. Accepted without error but never displayed, so control events such as Click are never raised.
Cloud — not supported. Accepted without error but never displayed, so control events such as Click are never raised.
Definition
public TabItem()
TabItem()
Examples
var tabItem = new TabItem { Header = new TextBlock { Text = "Orders" } };
var tabControl = new TabControl();
tabControl.AddTab(tabItem);
Chart.AddControl(tabControl);
header = TextBlock()
header.Text = "Orders"
tabItem = TabItem()
tabItem.Header = header
tabControl = TabControl()
tabControl.AddTab(tabItem)
api.Chart.AddControl(tabControl)