Skip to content

AspBlock.IsExpanded

property · AspBlock · cAlgo.API

DesktopCLICloud

Get expanded state of current block.

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 IsExpanded {get; set;}
aspBlock.IsExpanded: bool

Returns bool

Examples

var block = Asp.SymbolTab.AddBlock("My Block");
Print("Block is expanded: {0}", block.IsExpanded);
block = api.Asp.SymbolTab.AddBlock("My Block")
api.Print(f"Block is expanded: {block.IsExpanded}")