Arrow mouse cursor in the ZoomContent Control

Navigation for WPF Forum

Posted 11 years ago by Ilia Korjoukov
Version: 12.2.0573
Avatar

Hi!

I would like to ask how to keep the arrow mouse cursor in the ZoomContentControl for all time? I don't need the panning feature and therefore did not add any InputBinding for it and hided the pan pad. Anyway, the 'grabbing hand' cursor is shown when the mouse is over the ZoomContent control.

After I added a custom command to InputBindings, like  

<MouseBinding Command="{x:Static local:MyControl.MyCommand}" Gesture="LeftClick" />

the cursor started to turn to the arrow but only after a first click on the ViewControl pad. Thus, when the control is loaded for the first time, the 'grabbing hand' cursor is always  shown.

Is it possible to get rid of the 'grabbing hand' cursor at all?

Cheers, Ilia

Comments (1)

Answer - Posted 11 years ago by Ilia Korjoukov
Avatar

Actually, I just found a solution after reading another post, "ZoomContentControl InputBindings UpdateCursor problem",  in this forum. I added an UpdateCursor() call in the Loaded event of my ZoomContentControl and the arrow cursor has appeared. Everything is fine now.

Cheers, Ilia

The latest build of this product (v24.1.1) was released 22 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.