25 references to Fill
Microsoft.Maui.Controls (25)
ContentPresenter.cs (2)
80
if (isFixedVertically && view.VerticalOptions.Alignment == LayoutAlignment.
Fill
)
82
if (isFixedHorizontally && view.HorizontalOptions.Alignment == LayoutAlignment.
Fill
)
LayoutOptions.cs (3)
19
public static readonly LayoutOptions Fill = new LayoutOptions(LayoutAlignment.
Fill
, false);
35
public static readonly LayoutOptions FillAndExpand = new LayoutOptions(LayoutAlignment.
Fill
, true);
70
case LayoutAlignment.
Fill
:
LayoutOptionsConverter.cs (2)
70
if (options.Alignment == LayoutAlignment.
Fill
)
71
return $"{nameof(LayoutAlignment.
Fill
)}{(options.Expands ? "AndExpand" : "")}";
LegacyLayouts\AbsoluteLayout.cs (2)
118
if (view.VerticalOptions.Alignment == LayoutAlignment.
Fill
&&
119
view.HorizontalOptions.Alignment == LayoutAlignment.
Fill
)
LegacyLayouts\Grid.cs (2)
184
if (vOptions.Alignment == LayoutAlignment.
Fill
)
211
if (hOptions.Alignment == LayoutAlignment.
Fill
)
LegacyLayouts\Layout.cs (4)
244
if (horizontalOptions.Alignment != LayoutAlignment.
Fill
)
261
if (verticalOptions.Alignment != LayoutAlignment.
Fill
)
508
if (horizontalOptions.Alignment != LayoutAlignment.
Fill
)
525
if (verticalOptions.Alignment != LayoutAlignment.
Fill
)
LegacyLayouts\StackLayout.cs (4)
363
if ((Constraint & LayoutConstraint.VerticallyFixed) != 0 && view.VerticalOptions.Alignment == LayoutAlignment.
Fill
)
365
if (isOnlyExpander && view.HorizontalOptions.Alignment == LayoutAlignment.
Fill
&& Constraint == LayoutConstraint.Fixed)
381
if ((Constraint & LayoutConstraint.HorizontallyFixed) != 0 && view.HorizontalOptions.Alignment == LayoutAlignment.
Fill
)
383
if (isOnlyExpander && view.VerticalOptions.Alignment == LayoutAlignment.
Fill
&& Constraint == LayoutConstraint.Fixed)
ScrollView\ScrollView.cs (2)
328
if (vOptions.Alignment == LayoutAlignment.
Fill
&& (Constraint & LayoutConstraint.VerticallyFixed) != 0)
335
if (hOptions.Alignment == LayoutAlignment.
Fill
&& (Constraint & LayoutConstraint.HorizontallyFixed) != 0)
TemplatedPage.cs (2)
32
if (vOptions.Alignment == LayoutAlignment.
Fill
)
34
if (hOptions.Alignment == LayoutAlignment.
Fill
)
TemplatedView\TemplatedView.cs (2)
71
if (isFixedVertically && view.VerticalOptions.Alignment == LayoutAlignment.
Fill
)
73
if (isFixedHorizontally && view.HorizontalOptions.Alignment == LayoutAlignment.
Fill
)