3 writes to Top
Microsoft.Maui (1)
Primitives\Thickness.cs (1)
50 Top = top;
Microsoft.Maui.Controls (2)
PaddingElement.cs (1)
42 padding.Top = (double)newValue;
View\View.cs (1)
59 margin.Top = (double)newValue;
32 references to Top
Microsoft.Maui (23)
Animations\AnimationLerpingExtensions.cs (2)
54 start.Top.Lerp(end.Top, progress),
Converters\ThicknessTypeConverter.cs (1)
98 return $"{t.Left.ToString(CultureInfo.InvariantCulture)}, {t.Top.ToString(CultureInfo.InvariantCulture)}, " +
Layouts\AbsoluteLayoutManager.cs (1)
63 double top = padding.Top + bounds.Top;
Layouts\FlexLayoutManager.cs (1)
20 double top = padding.Top + bounds.Top;
Layouts\GridLayoutManager.cs (1)
602 double top = _padding.Top;
Layouts\HorizontalStackLayoutManager.cs (1)
51 double top = padding.Top + bounds.Top;
Layouts\LayoutExtensions.cs (2)
124 double frameY = bounds.Y + margin.Top; 179 var targetBounds = new Rect(bounds.Left + padding.Left, bounds.Top + padding.Top,
Layouts\VerticalStackLayoutManager.cs (1)
50 double stackHeight = padding.Top + bounds.Y;
Primitives\Thickness.cs (10)
29 public double VerticalThickness => Top + Bottom; 32 public bool IsEmpty => Left == 0 && Top == 0 && Right == 0 && Bottom == 0; 34 public bool IsNaN => double.IsNaN(Left) && double.IsNaN(Top) && double.IsNaN(Right) && double.IsNaN(Bottom); 67 return Left.Equals(other.Left) && Top.Equals(other.Top) && Right.Equals(other.Right) && Bottom.Equals(other.Bottom); 84 hashCode = (hashCode * 397) ^ Top.GetHashCode(); 105 top = Top; 113 new Thickness(left.Left + addend, left.Top + addend, left.Right + addend, left.Bottom + addend); 116 new Thickness(left.Left + right.Left, left.Top + right.Top, left.Right + right.Right, left.Bottom + right.Bottom);
VisualDiagnostics\AdornerModel.cs (3)
68 if (!Tolerances.NearZero(margin.Top)) 73 rc.Top = Math.Min(rect.Top - margin.Top, rect.Top); 74 rc.Height = Math.Abs(margin.Top);
Microsoft.Maui.Controls (9)
LegacyLayouts\FlexLayout.cs (2)
381 item.MarginTop = (float)margin.Top; 395 item.PaddingTop = (float)padding.Top;
LegacyLayouts\Layout.cs (3)
274 region.Y += margin.Top; 459 double y = Padding.Top; 539 region.Y += margin.Top;
LegacyLayouts\StackLayout.cs (1)
90 CalculateLayout(_layoutInformation, padding.Left, padding.Top, widthConstraint, heightConstraint, false);
Page\Page.cs (1)
591 double y = Padding.Top;
Region.cs (2)
88 return Inflate(_inflation.Value.Left * -1, _inflation.Value.Top * -1, _inflation.Value.Right * -1, _inflation.Value.Bottom * -1); 119 _inflation == null ? top : top + _inflation.Value.Top,