Skip to content

MultiSelect.SelectAllItems

method · MultiSelect · cAlgo.API Since 5.6

DesktopCLICloud

Selects all items on the MultiSelect

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 void SelectAllItems()
multiSelect.SelectAllItems() -> None

Examples

var multiSelect = new MultiSelect();
foreach (var position in Positions)
    multiSelect.AddItem(position.Id.ToString());
multiSelect.SelectAllItems();
Chart.AddControl(multiSelect);
multiSelect = MultiSelect()
for position in api.Positions:
    multiSelect.AddItem(str(position.Id))
multiSelect.SelectAllItems()
api.Chart.AddControl(multiSelect)