15 references to AutoSize
Microsoft.Maui.Controls (15)
LegacyLayouts\AbsoluteLayout.cs (15)
21 public static readonly BindableProperty LayoutBoundsProperty = BindableProperty.CreateAttached("LayoutBounds", typeof(Rect), typeof(AbsoluteLayout), new Rect(0, 0, AutoSize, AutoSize));
129 bool widthLocked = layoutBounds.Width != AutoSize;
136 bool heightLocked = layoutBounds.Height != AutoSize;
143 if (layoutBounds.Width != AutoSize)
145 if (layoutBounds.Height != AutoSize)
189 if (!widthIsProportional && bounds.Width != AutoSize)
208 if (!heightIsProportional && bounds.Height != AutoSize)
246 else if (bounds.Width != AutoSize)
255 else if (bounds.Height != AutoSize)
260 if (!widthIsProportional && bounds.Width == AutoSize)
262 if (!heightIsProportional && bounds.Width == AutoSize)
276 else if (!heightIsProportional && bounds.Height == AutoSize)
329 SetLayoutBounds(view, new Rect(position.X, position.Y, AutoSize, AutoSize));