public static UIView AlignOnBaseLine(this UIView view, UIView v1, UIView v2, float offset = 0) { return(view.AlignOnX(v1, NSLayoutAttribute.Baseline, v2, offset)); }
/// <summary> /// Align on vertical center /// </summary> public static UIView AlignOnCenterY(this UIView view, UIView v1, UIView v2, float offset = 0) { return(view.AlignOnX(v1, NSLayoutAttribute.CenterY, v2, offset)); }
public static UIView AlignOnTop(this UIView view, UIView v1, UIView v2, float offset = 0f) { return(view.AlignOnX(v1, NSLayoutAttribute.Top, v2, offset)); }
public static UIView AlignOnBottom(this UIView view, UIView v1, UIView v2, float offset = 0) { return(view.AlignOnX(v1, NSLayoutAttribute.Bottom, v2, offset)); }
public static UIView AlignOnRight(this UIView view, UIView v1, UIView v2, int offset = 0) { return(view.AlignOnX(v1, NSLayoutAttribute.Right, v2, offset)); }