I have set mouse events on a Canvas
as follows:
<Canvas MouseUp="CanvasUp" MouseDown="CanvasDown" MouseMove="CanvasMove">
...
</Canvas>
But these are active only on the child elements like Image
and Rectangle
, not on the empty space.
How can I solve this?