No have a general solution for it, We should know the layout of these UIElements then we could tell how to get their position. For example, if the elements are all in one Grid, I think you should get the Margin property value of them. And if they are in
one Canvas, then the Canvas.Top/Left etc. attached properties may help you on it.
Bob Bao [MSFT]
MSDN Community Support | Feedback to us
