I'm attempting to use WinListView's SelectedItems properties. However, if I select more than 2 items, it only contains the first and last items selected. Is this expected behavior?
Thanks.
-Nick
I could not reproduce the behavior you describe here with a simple test. I handled ItemSelectionChanged and iterated the e.SelectedItems therein and all selected items were enumerated.
I'm not using it in the list box's event. I have a button that gets pressed, and then have the following code:
private void btnAddItem_Click(object sender, EventArgs e) { foreach (UltraListViewItem item in lstAvailableItems.SelectedItems) { IncludeItem(item); } }
Will SelectedItems work as I expect it to in this case?