33 references to VerticalThickness
Microsoft.Maui (20)
Layouts\AbsoluteLayoutManager.cs (2)
22 var availableHeight = heightConstraint - padding.VerticalThickness; 66 double availableHeight = bounds.Height - padding.VerticalThickness;
Layouts\FlexLayoutManager.cs (3)
23 double availableHeight = bounds.Height - padding.VerticalThickness; 48 var availableHeight = heightConstraint - padding.VerticalThickness; 67 var finalHeight = LayoutManager.ResolveConstraints(heightConstraint, FlexLayout.Height, measuredHeight + padding.VerticalThickness,
Layouts\GridLayoutManager.cs (4)
285 return SumDefinitions(_rows, _rowSpacing) + _padding.VerticalThickness; 295 return SumDefinitions(_rows, _rowSpacing, minimize: true) + _padding.VerticalThickness; 819 ExpandStarDefinitions(_rows, targetSize.Height - _padding.VerticalThickness, GridMinimumHeight() - _padding.VerticalThickness,
Layouts\HorizontalStackLayoutManager.cs (3)
30 var measure = child.Measure(double.PositiveInfinity, heightConstraint - padding.VerticalThickness); 37 measuredHeight += padding.VerticalThickness; 53 var height = bounds.Height - padding.VerticalThickness;
Layouts\LayoutExtensions.cs (7)
24 heightConstraint -= margin.VerticalThickness; 31 measureWithoutMargins.Height + margin.VerticalThickness); 64 var frameHeight = Math.Max(0, consumedHeight - margin.VerticalThickness); 164 heightConstraint - inset.VerticalThickness); 167 return new Size(contentSize.Width + inset.HorizontalThickness, contentSize.Height + inset.VerticalThickness); 180 bounds.Width - padding.HorizontalThickness, bounds.Height - padding.VerticalThickness); 226 bounds.Height = Math.Max(bounds.Height, presentedContent.DesiredSize.Height + padding.VerticalThickness);
Layouts\VerticalStackLayoutManager.cs (1)
37 measuredHeight += padding.VerticalThickness;
Microsoft.Maui.Controls (13)
LegacyLayouts\Layout.cs (7)
202 SizeRequest size = base.Measure(widthConstraint - Padding.HorizontalThickness, heightConstraint - Padding.VerticalThickness, flags); 205 return new SizeRequest(new Size(size.Request.Width + Padding.HorizontalThickness, size.Request.Height + Padding.VerticalThickness), 206 new Size(size.Minimum.Width + Padding.HorizontalThickness, size.Minimum.Height + Padding.VerticalThickness)); 275 region.Height -= margin.VerticalThickness; 395 return new Size(sansMargins.Width + Margin.HorizontalThickness, sansMargins.Height + Margin.VerticalThickness); 461 double h = Math.Max(0, height - Padding.VerticalThickness); 540 region.Height -= margin.VerticalThickness;
Page\Page.cs (2)
427 area.Height -= Padding.VerticalThickness; 592 double h = Math.Max(0, Height - Padding.VerticalThickness);
ScrollView\ScrollView.cs (1)
187 frameSize.Height + margin.VerticalThickness);
VisualElement\VisualElement.cs (3)
1209 heightConstraint = Math.Max(0, heightConstraint - margin.VerticalThickness); 1216 result.Minimum = new Size(result.Minimum.Width + margin.HorizontalThickness, result.Minimum.Height + margin.VerticalThickness); 1217 result.Request = new Size(result.Request.Width + margin.HorizontalThickness, result.Request.Height + margin.VerticalThickness);