29 references to LayoutAlignment
Microsoft.Maui (19)
Core\IView.cs (2)
25
LayoutAlignment
HorizontalLayoutAlignment { get; }
30
LayoutAlignment
VerticalLayoutAlignment { get; }
Layouts\GridLayoutManager.cs (2)
808
|| _grid.VerticalLayoutAlignment ==
LayoutAlignment
.Fill);
812
|| _grid.HorizontalLayoutAlignment ==
LayoutAlignment
.Fill);
Layouts\LayoutExtensions.cs (15)
44
if (view.HorizontalLayoutAlignment ==
LayoutAlignment
.Fill && !IsExplicitSet(view.Width))
58
if (view.VerticalLayoutAlignment ==
LayoutAlignment
.Fill && !IsExplicitSet(view.Height))
74
var
alignment = view.HorizontalLayoutAlignment;
77
if (alignment ==
LayoutAlignment
.Fill && (IsExplicitSet(view.Width) || !double.IsInfinity(view.MaximumWidth)))
81
alignment =
LayoutAlignment
.Center;
91
double desiredWidth,
LayoutAlignment
horizontalLayoutAlignment)
97
case
LayoutAlignment
.Center:
101
case
LayoutAlignment
.End:
111
var
alignment = view.VerticalLayoutAlignment;
114
if (alignment ==
LayoutAlignment
.Fill && (IsExplicitSet(view.Height) || !double.IsInfinity(view.MaximumHeight)))
118
alignment =
LayoutAlignment
.Center;
128
case
LayoutAlignment
.Center:
132
case
LayoutAlignment
.End:
187
if (view.HorizontalLayoutAlignment ==
LayoutAlignment
.Fill)
192
if (view.VerticalLayoutAlignment ==
LayoutAlignment
.Fill)
Microsoft.Maui.Controls (10)
LayoutOptions.cs (6)
60
internal Primitives.
LayoutAlignment
ToCore()
65
return Primitives.
LayoutAlignment
.Start;
67
return Primitives.
LayoutAlignment
.Center;
69
return Primitives.
LayoutAlignment
.End;
71
return Primitives.
LayoutAlignment
.Fill;
74
return Primitives.
LayoutAlignment
.Start;
View\View.cs (2)
305
Primitives.
LayoutAlignment
IView.HorizontalLayoutAlignment => HorizontalOptions.ToCore();
308
Primitives.
LayoutAlignment
IView.VerticalLayoutAlignment => VerticalOptions.ToCore();
VisualElement\VisualElement.cs (2)
1971
Primitives.
LayoutAlignment
IView.HorizontalLayoutAlignment => default;
1974
Primitives.
LayoutAlignment
IView.VerticalLayoutAlignment => default;