0
点赞
收藏
分享

微信扫一扫

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

七千22 2022-07-28 阅读 40

Rect adornedElementRect = new Rect(uiElement.RenderSize);
adornedElementRect 拥有如下四个属性(均为Point类型)
1. Point TopLeft
2. Point TopRight
3. Point BottomLeft
4. Point BottomRight

留待后查,同时方便他人


举报

相关推荐

0 条评论