The scenario is, I got a mouse event, retrieved its position relative to the DockPanel (which is the main client area in my application). When I tried to call DockPanel.PointToScreen() to convert the position into screen coordinate space, I got an security exception.
From the exception message, it looks like the PointToScreen() call will reference certain component related to office solution, and Xbap's partially trusted level is not sufficient to call thoses components.
However, getting a mouse position in screen coordinate space sometimes is needed in Xbap. Is there any alternative way to achieve this with Xbap's limited trust level