views:

4034

answers:

2
A: 

Usually when your are having issues with Mouse events firing correctly it's due to the background missing. If the element you expect to receive events has a null reference for a background, the control will not receive the events; only the control underneath of it will. Try setting the background of your ContentControl to "Transparent". That should fix your problem.

Micah
Nope, looks like that's not doing anything. If I change to a Button, still the same.It's acting like there's something invisible in front of it; when I try clicking, it doesn't even select the ListViewItem.
thealliedhacker
+2  A: 

I took the code you provided, supplied some data for the collections, and it worked just like you wanted it to. I would suggest using Snoop to look to see if there are any other elements consuming the events you expect the ListView to handle.

NigelTufnel
Hah, turns out it was a label at the top of the window. The height was going all the way down the window, covering most of that column in the ListBox.
thealliedhacker
Can someone post the supporting classes for this example?