I have a list view and I am accessing the SelectedItemChanged event. If there is a specified condition, I don't want the item I selected to be selected and revert back to the item that was selected, if one was selected. For the most part, I have this working, however, I still get a BOX around the item I don't want selected, even though I clear out the Selected Items object on the ListView. See the attached GIF, you will notice how the item I selected has a BOX around it.
These are the 4 lines of code I have tried, even all at once and still, the items has a BOX around it.
radListViewRoles.SelectedIndex = 0;
radListViewRoles.SelectedItems.Clear();
radListViewRoles.CurrentItem = null;
radListViewRoles.SelectedItem = null;
Thanks