I have some xaml markup that looks essentially like this:
<Canvas x:Name="A">
<Canvas x:Name="B"/>
</Canvas>
I want to determine if the mouse is over Canvas
B.
When I click while my mouse is over Canvas B, Mouse.DirectlyOver returns Canvas A (as I expect). I then get a reference to Canvas B from Canvas A but when I check Canvas B's IsMouseOver property it returns false.
What is the best way to determine if the mouse is over Canvas B given the xaml above?