[]
Gets the mouse coordinates relative to a given UIElement.
public Point GetPosition(UIElement relativeTo)
Type | Name | Description |
---|---|---|
UIElement | relativeTo | UIElement that determines the coordinate system of the return value. |
Type | Description |
---|---|
Point | A Point that contains the mouse coordinates relative to the UIElement
specified by the |