1 instantiation of BoundsConstraint
Microsoft.Maui.Controls (1)
BoundsConstraint.cs (1)
31 var result = new BoundsConstraint
15 references to BoundsConstraint
Microsoft.Maui.Controls (15)
BoundsConstraint.cs (3)
23 public static BoundsConstraint FromExpression(Expression<Func<Rect>> expression, IEnumerable<View> parents = null) 28 internal static BoundsConstraint FromExpression(Expression<Func<Rect>> expression, bool fromExpression, IEnumerable<View> parents = null) 31 var result = new BoundsConstraint
LegacyLayouts\RelativeLayout.cs (12)
31 public static readonly BindableProperty BoundsConstraintProperty = BindableProperty.CreateAttached("BoundsConstraint", typeof(BoundsConstraint), typeof(RelativeLayout), null); 121 public static BoundsConstraint GetBoundsConstraint(BindableObject bindable) 123 return (BoundsConstraint)bindable.GetValue(BoundsConstraintProperty); 146 public static void SetBoundsConstraint(BindableObject bindable, BoundsConstraint value) 185 BoundsConstraint boundsConstraint = GetBoundsConstraint(view); 244 BoundsConstraint boundsConstraint = GetBoundsConstraint(view); 324 BoundsConstraint bounds = BoundsConstraint.FromExpression(() => new Rect(x(), y(), width(), height()), parents.Distinct().ToArray()); 329 BoundsConstraint boundsConstraint = GetBoundsConstraint(view); 363 SetBoundsConstraint(view, BoundsConstraint.FromExpression(bounds, fromExpression: true)); 383 BoundsConstraint bounds = BoundsConstraint.FromExpression(() => new Rect(xCompiled(), yCompiled(), widthCompiled(), heightCompiled()), fromExpression: true, parents: parents.Distinct().ToArray());