Hi, I'd like to implement a ListView that will have a list of SelectedItems as it has now, but it will also have a separate item that is under cursor (movable with mouse/keyboard). Item selecting will be done with special action (for example the space key).
In other words, I'd like to suppress selection on the ListView and only change FocusedItem when selection would normally occur.
I think that I should do something with ListView's FocusedItem and SelectedItems properties, but the thing is that clicking an item selects it (also changes focus).
A solution would be to capture keydown and mouseclick events that can change selection and only change FocusedItem to the item according to the event (item under mouse pointer in mouseclick and item above/below current one in keydown up/down arrow). Then I would only add items to SelectedItems collection on my special event (space key press).
What I'm asking is if there is more ellegant approach to this problem or the solution above is as simple as it can be. Thanks