I want to use GetPosition method in the place where no mouseeventargs available. I wonder why this method can be used only with MouseEventArgs?
I want something like this UIHelper.GetPosition
I want to use GetPosition method in the place where no mouseeventargs available. I wonder why this method can be used only with MouseEventArgs?
I want something like this UIHelper.GetPosition
You can always add a static Point member on your root document and register a mousemove handler which does nothing but update that value. (That's assuming you wanted a potential solution, and not an architecture discussion)