AspTab.IsSelected
property · AspTab · cAlgo.API
DesktopCLICloud
Get / set selected state 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
bool IsSelected {get; set;}
aspTab.IsSelected: bool
Returns bool
Examples
var tab = Asp.AddTab("My Tab");
tab.IsSelected = true;
Print("Tab is selected: {0}", tab.IsSelected);
tab = api.Asp.AddTab("My Tab")
tab.IsSelected = True
api.Print(f"Tab is selected: {tab.IsSelected}")