SingleSelection.setAutoselect

Enables or disables autoselect.

If autoselect is true, self will enforce that an item is always selected. It will select a new item when the currently selected item is deleted and it will disallow unselecting the current item.

class SingleSelection
void
setAutoselect
()

Parameters

autoselect bool

true to always select an item