BaseVerticalCollectionView.selectedIndices

public IEnumerable<int> selectedIndices;

Description

Returns the indices of selected items in the data source. Always returns an enumerable, even if no item is selected, or a single item is selected.

In a tree, if a child item is collapsed, its index is not included in the selection. To get selected items regardless of whether they are collapsed or not, use selectedIds instead.


Did you find this page useful? Please give it a rating: