Question

Arrow mouse cursor in the ZoomContent Control

Posted 6 years ago by Avatar Ilia Korjoukov

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)

Posted 6 years ago by Ilia Korjoukov

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

Information The latest build of this product (2018.1 build 0672) was released 2 months ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.