Rect adornedElementRect = new Rect(uiElement.RenderSize);
adornedElementRect 拥有如下四个属性(均为Point类型)
1. Point TopLeft
2. Point TopRight
3. Point BottomLeft
4. Point BottomRight
留待后查,同时方便他人
wpf获取元素四个角对应的point
阅读 40
2022-07-28
Rect adornedElementRect = new Rect(uiElement.RenderSize);
adornedElementRect 拥有如下四个属性(均为Point类型)
1. Point TopLeft
2. Point TopRight
3. Point BottomLeft
4. Point BottomRight
留待后查,同时方便他人
相关推荐
精彩评论(0)