16 references to AutoSize
Microsoft.Maui.Controls (12)
Layout\AbsoluteLayout.cs (4)
30
typeof(Rect), typeof(AbsoluteLayout), new Rect(0, 0,
AutoSize
,
AutoSize
), propertyChanged: LayoutBoundsPropertyChanged);
159
LayoutBounds = new Rect(0, 0,
AutoSize
,
AutoSize
);
Layout\BoundsTypeConverter.cs (8)
38
w = AbsoluteLayout.
AutoSize
;
44
h = AbsoluteLayout.
AutoSize
;
48
return new Rect(x, y, AbsoluteLayout.
AutoSize
, AbsoluteLayout.
AutoSize
);
60
return $"{rect.X.ToString(CultureInfo.InvariantCulture)}, {rect.Y.ToString(CultureInfo.InvariantCulture)}, {(rect.Width == AbsoluteLayout.
AutoSize
? nameof(AbsoluteLayout.
AutoSize
) : rect.Width.ToString(CultureInfo.InvariantCulture))}, {(rect.Height == AbsoluteLayout.
AutoSize
? nameof(AbsoluteLayout.
AutoSize
) : rect.Height.ToString(CultureInfo.InvariantCulture))}";
Microsoft.Maui.Controls.Build.Tasks (4)
CompiledConverters\BoundsTypeConverter.cs (4)
36
w = AbsoluteLayout.
AutoSize
;
42
h = AbsoluteLayout.
AutoSize
;
48
w = AbsoluteLayout.
AutoSize
;
50
h = AbsoluteLayout.
AutoSize
;