LegacyLayouts\AbsoluteLayout.cs (12)
21 public static readonly BindableProperty LayoutBoundsProperty = BindableProperty.CreateAttached("LayoutBounds", typeof(Rect), typeof(AbsoluteLayout), new Rect(0, 0, AutoSize, AutoSize));
48 public static Rect GetLayoutBounds(BindableObject bindable)
50 return (Rect)bindable.GetValue(LayoutBoundsProperty);
58 public static void SetLayoutBounds(BindableObject bindable, Rect bounds)
74 Rect rect = ComputeLayoutForRegion(child, new Size(width, height));
126 Rect layoutBounds = GetLayoutBounds(view);
168 Rect bounds = GetLayoutBounds(view);
230 static Rect ComputeLayoutForRegion(View view, Size region)
232 var result = new Rect();
235 Rect bounds = GetLayoutBounds(view);
306 void Add(View view, Rect bounds, AbsoluteLayoutFlags flags = AbsoluteLayoutFlags.None);
320 public void Add(View view, Rect bounds, AbsoluteLayoutFlags flags = AbsoluteLayoutFlags.None)