8 writes to Minimum
Microsoft.Maui (2)
Primitives\SizeRequest.cs (2)
25
Minimum
= minimum;
32
Minimum
= request;
Microsoft.Maui.Controls (4)
ContentPresenter.cs (1)
65
Minimum
= childRequest.Minimum
ScrollView\ScrollView.cs (1)
317
contentRequest.
Minimum
= new Size(Math.Min(40, contentRequest.Minimum.Width), Math.Min(40, contentRequest.Minimum.Height));
TemplatedView\TemplatedView.cs (1)
61
Minimum
= childRequest.Minimum
VisualElement\VisualElement.cs (1)
1213
result.
Minimum
= new Size(result.Minimum.Width + margin.HorizontalThickness, result.Minimum.Height + margin.VerticalThickness);
Microsoft.Maui.Controls.Compatibility (2)
iOS\Renderers\LabelRenderer.cs (2)
63
_perfectSize.
Minimum
= new Size(Math.Min(10, _perfectSize.Request.Width), _perfectSize.Request.Height);
75
result.
Minimum
= new Size(tinyWidth, result.Request.Height);
33 references to Minimum
Microsoft.Maui (4)
Primitives\SizeRequest.cs (4)
38
return string.Format("{{Request={0} Minimum={1}}}", Request,
Minimum
);
41
public bool Equals(SizeRequest other) => Request.Equals(other.Request) &&
Minimum
.Equals(other.
Minimum
);
49
public override int GetHashCode() => Request.GetHashCode() ^
Minimum
.GetHashCode();
Microsoft.Maui.Controls (29)
Compatibility\Handlers\VisualElementRenderer.cs (1)
147
var minSize = sizeRequest.
Minimum
;
ContentPresenter.cs (1)
65
Minimum = childRequest.
Minimum
LegacyLayouts\AbsoluteLayout.cs (4)
105
minimum.Width = Math.Max(minimum.Width, desiredSize.
Minimum
.Width);
106
minimum.Height = Math.Max(minimum.Height, desiredSize.
Minimum
.Height);
199
minWidth += sizeRequest.Value.
Minimum
.Width;
218
minHeight += sizeRequest.Value.
Minimum
.Height;
LegacyLayouts\GridCalc.cs (6)
202
minimumHeight = Math.Max(minimumHeight, sizeRequest.
Minimum
.Height - assignedHeight - grid.RowSpacing * (GetRowSpan(child) - 1));
235
minimumWidth = Math.Max(minimumWidth, sizeRequest.
Minimum
.Width - assignedWidth - (GetColumnSpan(child) - 1) * grid.ColumnSpacing);
545
double requiredWidth = expandToRequest ? sizeRequest.Request.Width : sizeRequest.
Minimum
.Width;
577
: sizeRequest.Request.Height <= h ? sizeRequest.Request.Height : sizeRequest.
Minimum
.Height;
678
minimumWidth = Math.Max(minimumWidth, sizeRequest.
Minimum
.Width - assignedWidth - columnSpacing);
739
minimumHeight = Math.Max(minimumHeight, sizeRequest.
Minimum
.Height - assignedHeight - rowSpacing);
LegacyLayouts\Layout.cs (2)
206
new Size(size.
Minimum
.Width + Padding.HorizontalThickness, size.
Minimum
.Height + Padding.VerticalThickness));
LegacyLayouts\StackLayout.cs (8)
178
layout.CompressionSpace += Math.Max(0, request.Request.Height - request.
Minimum
.Height);
183
minimumHeight += request.
Minimum
.Height + spacing;
184
minimumWidth = Math.Max(minimumWidth, request.
Minimum
.Width);
213
layout.CompressionSpace += Math.Max(0, request.Request.Width - request.
Minimum
.Width);
218
minimumWidth += request.
Minimum
.Width + spacing;
219
minimumHeight = Math.Max(minimumHeight, request.
Minimum
.Height);
250
Size minimum = layout.Requests[i].
Minimum
;
322
Size minimum = layout.Requests[i].
Minimum
;
ScrollView\ScrollView.cs (2)
317
contentRequest.Minimum = new Size(Math.Min(40, contentRequest.
Minimum
.Width), Math.Min(40, contentRequest.
Minimum
.Height));
TemplatedView\TemplatedView.cs (1)
61
Minimum = childRequest.
Minimum
VisualElement\VisualElement.cs (4)
1137
bool hasMinimum = result.
Minimum
!= result.Request;
1139
Size minimum = result.
Minimum
;
1213
result.Minimum = new Size(result.
Minimum
.Width + margin.HorizontalThickness, result.
Minimum
.Height + margin.VerticalThickness);