Quantcast
Channel: WPF: Canvas mouse events not firing on empty space - Stack Overflow
Viewing all articles
Browse latest Browse all 3

WPF: Canvas mouse events not firing on empty space

$
0
0

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?


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images