6 writes to Left
Microsoft.Maui (4)
VisualDiagnostics\AdornerModel.cs (4)
49
rc.
Left
= Math.Min(rect.Left - margin.Left, rect.Left);
60
rc.
Left
= Math.Min(rect.Right, rect.Right + margin.Right);
71
rc.
Left
= rect.Left - Math.Max(0, margin.Left);
82
rc.
Left
= rect.Left - Math.Max(0, margin.Left);
Microsoft.Maui.Controls (2)
LegacyLayouts\RelativeLayout.cs (1)
225
boundsRectangle.
Left
= Math.Min(boundsRectangle.Left, bounds.Left);
Region.cs (1)
110
region.
Left
-= left;
28 references to Left
Microsoft.Maui (12)
Graphics\RectangleExtensions.cs (1)
17
return new Rect(rectangle.
Left
+ inset, rectangle.Top + inset,
Layouts\AbsoluteLayoutManager.cs (2)
50
measuredWidth = Math.Max(measuredWidth, bounds.
Left
+ width);
64
double left = padding.Left + bounds.
Left
;
Layouts\FlexLayoutManager.cs (1)
21
double left = padding.Left + bounds.
Left
;
Layouts\GridLayoutManager.cs (1)
45
var cell = _gridStructure.GetCellBoundsFor(view, bounds.
Left
, bounds.Top);
Layouts\HorizontalStackLayoutManager.cs (1)
56
double xPosition = padding.Left + bounds.
Left
;
Layouts\LayoutExtensions.cs (1)
179
var targetBounds = new Rect(bounds.
Left
+ padding.Left, bounds.Top + padding.Top,
VisualDiagnostics\AdornerModel.cs (5)
49
rc.Left = Math.Min(rect.
Left
- margin.Left, rect.
Left
);
71
rc.Left = rect.
Left
- Math.Max(0, margin.Left);
82
rc.Left = rect.
Left
- Math.Max(0, margin.Left);
133
double left = DpiHelper.RoundToPixel(rect.
Left
, unitsPerPixel);
Microsoft.Maui.Controls (11)
LegacyLayouts\RelativeLayout.cs (2)
225
boundsRectangle.Left = Math.Min(boundsRectangle.
Left
, bounds.
Left
);
Shapes\GeometryHelper.cs (3)
56
figDst.StartPoint = matx.Transform(new Point(rectGeoSrc.Rect.
Left
, rectGeoSrc.Rect.Top));
59
segDst.Points.Add(matx.Transform(new Point(rectGeoSrc.Rect.
Left
, rectGeoSrc.Rect.Bottom)));
60
segDst.Points.Add(matx.Transform(new Point(rectGeoSrc.Rect.
Left
, rectGeoSrc.Rect.Top)));
Shapes\Matrix.cs (1)
742
Point point3 = matrix.Transform(new Point(rect.
Left
, rect.Bottom));
Shapes\Shape.cs (5)
292
bool requireAdjustX = viewBounds.
Left
> pathBounds.Left;
298
(float)(pathBounds.X + viewBounds.
Left
- pathBounds.Left),
325
(float)(viewBounds.
Left
- widthScale * pathBounds.Left),
335
(float)(viewBounds.
Left
- minScale * pathBounds.Left +
347
(float)(viewBounds.
Left
- maxScale * pathBounds.Left),
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));