Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

XAML Relative Layout YConstraint equal to the height plus the Y of sibling

$
0
0

Is there a way to make an element's YConstraint in a Relative Layout be equal to the height plus the Y of it's last sibling? Right now i'm doing:

RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToView,Property=Height,ElementName=siblingName,Constant=0}"

It doesn't seem to take into account the Y of the sibling though. Anyone have any suggestions?


Viewing all articles
Browse latest Browse all 58056

Trending Articles