I wrote some code to accomplish a simple Drag and Drop between cells in the XamDataGrid. Unfortunately I'm only receiving the correct Mouseposition while the application is maximized.
I'm aware of the possibility of AdornerLayer et cetera but I wondered where this strange habit is coming from.
I've attached a solution...
Hello,
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
Thx, worked!
Thank you for your post. I have been looking into it and the sample you have provided and I modified it, so now it works as you want. Basically I get the upper left coordinates of the Window and add the X and Y to the offset of the Popup, because the coordinates you calculated are based on the upper left point of the screen, not the window. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.