WPF Mouse Position and Visible dot not the same place
I'm trying to make a simple desktop application in WPF and I'm having problems placing a dot the same place my mouse is. First picture is when i click almost top left. Second picture is almost clicking bottom right. Third picture is my Xaml file.
Here is the relevant C# code
1 Reply
Margin is not the absolute position
It is the spacing between elements
If you want absolute position set Left, Right, Top, and Bottom properties