The official Xamarin document describes the X/Y property as The X/Y position of this element relative to its parents bounds. But it didn't clarify which position of the visual element if it's quite big.
Say I have a Frame
element that looks like this. Is the Frame.X
and Frame.Y
going to be (X1,Y1), (X2,Y2) or neither?
1条答案
按热度按时间eulz3vhy1#
你可以参考我试过的代码:
如果没有明确位置,它将从父容器的左上角开始布局。