I have WPF window with several textboxes, buttons, and canvas where I draw a graph. I would like to have cross cursor over the canvas, because this way user could point interesting area in more “scientific” way 🙂
Oddly, when I set cursor to cross for a canvas, it is still a standard arrow instead, but when the mouse is over any line or polyline I drew on the canvas it is cross.
So how to set the cursor for entire canvas (including “empty” space, where nothing is drawn)?
To change a mouse cursor shape for entire canvas add a transparent background to your canvas.
Here is a sample: