wpf获取元素四个角对应的point
Rect adornedElementRect = new Rect(uiElement.RenderSize);
adornedElementRect 拥有如下四个属性(均为Point类型)
1. Point TopLeft
2. Point TopRight
3. Point BottomLeft
4. Point BottomRight
Rect adornedElementRect = new Rect(uiElement.RenderSize);
adornedElementRect 拥有如下四个属性(均为Point类型)
1. Point TopLeft
2. Point TopRight
3. Point BottomLeft
4. Point BottomRight