GetAbsoluteX
The GetAbsoluteX method returns the absolute distance (in pixels) from the top-left of the screen to the top-left of the GraphicalUiElement, regardless of the GraphicalUiElement's X Units or X Origin.
Code Example - Mouse Hit Test
To detect whether the mouse is ove ra GraphicalUiElement, the absolute properties can be used. This code does not assume a paritcular API for mouse coordiantes.
Last updated