tags:

views:

58

answers:

1

Hi,

Simple question:

1) I click and hold the mouse on a ListBoxItem in a ListBox.
2) Now I drag the mouse cursor down over the next ListBoxItem in the list

It now selects this new item. I would like to disable this. So the user has to click an item to select it. Not just drag over it.

I have Single selection turned on.

Any ideas are greatly appreciated :)

A: 

I guess overriding OnPreviewMouseMove will do. Read this for similar problem.

majocha
Thanks. I'll give that a try.The link you provided did not work. Do you have the direct link?
Bodekaer
http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/0ed8731a-f7b1-4499-9ef9-fc5544fa7007
majocha