2 writes to RelativeTo
Microsoft.Maui.Controls (2)
LegacyLayouts\Constraint.cs (2)
34 RelativeTo = ExpressionSearch.Default.FindObjects<View>(expression).ToArray() // make sure we have our own copy 49 var result = new Constraint { _measureFunc = layout => measure(layout, view), RelativeTo = new[] { view } };
8 references to RelativeTo
Microsoft.Maui.Controls (8)
LegacyLayouts\RelativeLayout.cs (8)
283 if (xConstraint.RelativeTo != null) 284 parents.AddRange(xConstraint.RelativeTo); 293 if (yConstraint.RelativeTo != null) 294 parents.AddRange(yConstraint.RelativeTo); 305 if (widthConstraint.RelativeTo != null) 306 parents.AddRange(widthConstraint.RelativeTo); 316 if (heightConstraint.RelativeTo != null) 317 parents.AddRange(heightConstraint.RelativeTo);