When I enable MultiSelect, the ListView.Selection and ListView.SelectionIndex methods do not return the correct value. They always return the item that was clicked last — regardless of whether it is actually selected or not.
Therefore, we must not use the ListView.Selection and ListView.SelectionIndex methods if MultiSelectis enabled. Instead, we should rely only on ListView.SelectedItems. However, in this case, we also require a corresponding counterpart: ListView.SelectedIndexItems.