You can use Mouse.DirectlyOver , then go to the visual tree to find the first Grid before the tree.
Mouse.DirectlyOver returns the IInputElement that is under the mouse when you check the property.
You can approach the visual tree using the method described in this SO question
Edit: I found the SO question about the visual processing of the tree that I was thinking about. (much better than the first IMHO link).
source share