1 instantiation of BoundsConstraint
Microsoft.Maui.Controls (1)
15 references to BoundsConstraint
Microsoft.Maui.Controls (15)
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());