摘要://To get a point relative to a UI element: private Point GetPointRelativeToElement(UIElement element, Point point) { return element.TranslatePoint(point, element); }//To get the absolute screen position of a UI element, private Point GetAbsolutePositionOfElement(UIElement element) { return e...
阅读全文