IMultiSelectionItem<>

Represent a multi selection prompt item.

Represent a multi selection prompt item.

Properties

IsSelected : bool

Gets a value indicating whether or not this item is selected.

Methods

public ISelectionItem<T> AddChild(T child)

Adds a child to the item.

Parameters:

child (T)
The child to add.

Returns:

A new ISelectionItem instance representing the child.

public IMultiSelectionItem<T> Select()

Selects the item.

Returns:

The same instance so that multiple calls can be chained.