Suppose I wanted to do this, so I can find the current position of the mouse relative to a Visual, without needing access to a specific mouse event:
Visual
<
I've found you can test IsVisible before calling PointFromScreen to protect against the InvalidOperationException.
IsVisible
PointFromScreen
InvalidOperationException