tags:

views:

186

answers:

2

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

A: 

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)

Chris B
A: 

how about with silverlight 4?

david