Quantcast
Channel: WPF 3D cursor point
Viewing all articles
Browse latest Browse all 5

WPF 3D cursor point

$
0
0

Hi Makoto,

By Using Mouse.GetPosition you are retrieving the position of the mouse relative to a specified element. Here the element is "this". The position of the mouse pointer is calculated relative to the specified element with the upper-left corner of element being the point of origin, 0,0. If in your case that is the Window, the position is client area (inside).

Best regards


Yves Zhang [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>