I have a 6x8 grid of System.Windows.Controls.Canvas
objects. The top left canvas does not receive mouse events while all the others do. I tried OnMouseMove
and OnMouseClick
events.
A child object isn't handling the event because System.Windows.Media.VisualTreeHelper#GetChildrenCount()
doesn't show any children. I couldn't catch PreviewOnMouseMove
either. Can there be some (perhaps transparent) control in front of my canvas that is taking precedence?