23 references to RelativeLayout
Microsoft.Maui.Controls (22)
LegacyLayouts\Constraint.cs (4)
13 Func<RelativeLayout, double> _measureFunc; 40 public static Constraint RelativeToParent(Func<RelativeLayout, double> measure) 47 public static Constraint RelativeToView(View view, Func<RelativeLayout, View, double> measure) 54 internal double Compute(RelativeLayout parent)
LegacyLayouts\ConstraintExpression.cs (1)
65 return Constraint.RelativeToView(view, delegate (RelativeLayout p, View v)
LegacyLayouts\RelativeLayout.cs (17)
15 public class RelativeLayout : Layout<View>, IElementConfiguration<RelativeLayout> 19 public static readonly BindableProperty XConstraintProperty = BindableProperty.CreateAttached("XConstraint", typeof(Constraint), typeof(RelativeLayout), null, propertyChanged: ConstraintChanged); 22 public static readonly BindableProperty YConstraintProperty = BindableProperty.CreateAttached("YConstraint", typeof(Constraint), typeof(RelativeLayout), null, propertyChanged: ConstraintChanged); 25 public static readonly BindableProperty WidthConstraintProperty = BindableProperty.CreateAttached("WidthConstraint", typeof(Constraint), typeof(RelativeLayout), null, propertyChanged: ConstraintChanged); 28 public static readonly BindableProperty HeightConstraintProperty = BindableProperty.CreateAttached("HeightConstraint", typeof(Constraint), typeof(RelativeLayout), null, propertyChanged: ConstraintChanged); 31 public static readonly BindableProperty BoundsConstraintProperty = BindableProperty.CreateAttached("BoundsConstraint", typeof(BoundsConstraint), typeof(RelativeLayout), null); 36 readonly Lazy<PlatformConfigurationRegistry<RelativeLayout>> _platformConfigurationRegistry; 47 _platformConfigurationRegistry = new Lazy<PlatformConfigurationRegistry<RelativeLayout>>(() => 48 new PlatformConfigurationRegistry<RelativeLayout>(this)); 52 public IPlatformElementConfiguration<T, RelativeLayout> On<T>() where T : IConfigPlatform 104 (view?.Parent as RelativeLayout)?.UpdateBoundsConstraint(view); 352 public RelativeElementCollection(ObservableCollection<Element> inner, RelativeLayout parent) : base(inner) 357 internal RelativeLayout Parent { get; set; } 394 RelativeLayout.SetXConstraint(view, xConstraint); 395 RelativeLayout.SetYConstraint(view, yConstraint); 396 RelativeLayout.SetWidthConstraint(view, widthConstraint); 397 RelativeLayout.SetHeightConstraint(view, heightConstraint);
Microsoft.Maui.Controls.Compatibility (1)
AppHostBuilderExtensions.cs (1)
90 handlers.TryAddCompatibilityRenderer(typeof(Microsoft.Maui.Controls.Compatibility.RelativeLayout), typeof(DefaultRenderer));