6 writes to Top
Microsoft.Maui (4)
VisualDiagnostics\AdornerModel.cs (4)
51
rc.
Top
= rect.Top;
62
rc.
Top
= rect.Top;
73
rc.
Top
= Math.Min(rect.Top - margin.Top, rect.Top);
84
rc.
Top
= Math.Min(rect.Bottom + margin.Bottom, rect.Bottom);
Microsoft.Maui.Controls (2)
LegacyLayouts\RelativeLayout.cs (1)
226
boundsRectangle.
Top
= Math.Min(boundsRectangle.Top, bounds.Top);
Region.cs (1)
108
region.
Top
-= top;
29 references to Top
Microsoft.Maui (12)
Graphics\RectangleExtensions.cs (1)
17
return new Rect(rectangle.Left + inset, rectangle.
Top
+ inset,
Layouts\AbsoluteLayoutManager.cs (2)
49
measuredHeight = Math.Max(measuredHeight, bounds.
Top
+ height);
63
double top = padding.Top + bounds.
Top
;
Layouts\FlexLayoutManager.cs (1)
20
double top = padding.Top + bounds.
Top
;
Layouts\GridLayoutManager.cs (1)
45
var cell = _gridStructure.GetCellBoundsFor(view, bounds.Left, bounds.
Top
);
Layouts\HorizontalStackLayoutManager.cs (1)
51
double top = padding.Top + bounds.
Top
;
Layouts\LayoutExtensions.cs (1)
179
var targetBounds = new Rect(bounds.Left + padding.Left, bounds.
Top
+ padding.Top,
VisualDiagnostics\AdornerModel.cs (5)
51
rc.Top = rect.
Top
;
62
rc.Top = rect.
Top
;
73
rc.Top = Math.Min(rect.
Top
- margin.Top, rect.
Top
);
134
double top = DpiHelper.RoundToPixel(rect.
Top
, unitsPerPixel);
Microsoft.Maui.Controls (12)
LegacyLayouts\RelativeLayout.cs (2)
226
boundsRectangle.Top = Math.Min(boundsRectangle.
Top
, bounds.
Top
);
Shapes\GeometryHelper.cs (3)
56
figDst.StartPoint = matx.Transform(new Point(rectGeoSrc.Rect.Left, rectGeoSrc.Rect.
Top
));
57
segDst.Points.Add(matx.Transform(new Point(rectGeoSrc.Rect.Right, rectGeoSrc.Rect.
Top
)));
60
segDst.Points.Add(matx.Transform(new Point(rectGeoSrc.Rect.Left, rectGeoSrc.Rect.
Top
)));
Shapes\Matrix.cs (2)
739
Point point0 = matrix.Transform(new Point(rect.Right, rect.
Top
));
740
Point point1 = matrix.Transform(new Point(rect.Right, rect.
Top
));
Shapes\Shape.cs (5)
293
bool requireAdjustY = viewBounds.
Top
> pathBounds.Top;
299
(float)(pathBounds.Y + viewBounds.
Top
- pathBounds.Top));
326
(float)(viewBounds.
Top
- heightScale * pathBounds.Top));
337
(float)(viewBounds.
Top
- minScale * pathBounds.Top +
348
(float)(viewBounds.
Top
- maxScale * pathBounds.Top));
Microsoft.Maui.Graphics (5)
Rect.cs (5)
92
return (x >= Left) && (x < Right) && (y >=
Top
) && (y < Bottom);
97
return !((Left >= r.Right) || (Right <= r.Left) || (
Top
>= r.Bottom) || (Bottom <= r.
Top
));
107
return FromLTRB(Math.Min(r1.Left, r2.Left), Math.Min(r1.
Top
, r2.
Top
), Math.Max(r1.Right, r2.Right), Math.Max(r1.Bottom, r2.Bottom));