wpf获取元素四个角对应的point

Rect adornedElementRect = new Rect(uiElement.RenderSize);
adornedElementRect 拥有如下四个属性(均为Point类型)
1. Point TopLeft
2. Point TopRight
3. Point BottomLeft
4. Point BottomRight
posted @ 2021-06-25 17:39  Hey,Coder!  阅读(188)  评论(0编辑  收藏  举报