1 write to Height
Microsoft.Maui.Controls (1)
VisualElement\VisualElement.cs (1)
1762
Height
= bounds.Height;
45 references to Height
Microsoft.Maui.Controls (28)
Editor\Editor.cs (3)
148
Height
> 0 &&
162
IsExplicitSet(view.MinimumHeight) &&
Height
< view.MinimumHeight ||
163
IsExplicitSet(view.MaximumHeight) &&
Height
> view.MaximumHeight)
LegacyLayouts\Layout.cs (4)
192
public void ForceLayout() => SizeAllocated(Width,
Height
);
456
double height =
Height
;
599
if (_lastLayoutSize != new Size(Width,
Height
))
683
if (Width <= 0 ||
Height
<= 0 || !LogicalChildrenInternal.Any() || !IsVisible || !IsPlatformStateConsistent || DisableLayout)
LegacyLayouts\RelativeLayout.cs (5)
209
double mockHeight = double.IsPositiveInfinity(heightConstraint) ? (Parent as VisualElement).
Height
: heightConstraint;
310
width = () => view.Measure(Width, heightConstraint != null ? height() :
Height
, MeasureFlags.IncludeMargins).Request.Width;
321
height = () => view.Measure(widthConstraint != null ? width() : Width,
Height
, MeasureFlags.IncludeMargins).Request.Height;
373
Func<double> widthCompiled = width != null ? width.Compile() : () => view.Measure(Parent.Width, Parent.
Height
, MeasureFlags.IncludeMargins).Request.Width;
374
Func<double> heightCompiled = height != null ? height.Compile() : () => view.Measure(Parent.Width, Parent.
Height
, MeasureFlags.IncludeMargins).Request.Height;
NavigationPage\NavigationPage.Legacy.cs (1)
143
if (Width > 0 &&
Height
> 0)
Page\Page.cs (3)
395
SizeAllocated(Width,
Height
);
590
double h = Math.Max(0,
Height
- Padding.VerticalThickness);
795
if (logicalChildren.Count == 0 || Width <= 0 ||
Height
<= 0 || !IsPlatformStateConsistent)
ScrollView\ScrollView.cs (7)
61
var scrollBounds = new Rect(ScrollX, ScrollY, Width,
Height
);
62
var itemBounds = new Rect(x, y, item.Width, item.
Height
);
81
y = y -
Height
/ 2 + item.
Height
/ 2;
85
y = y -
Height
+ item.
Height
;
302
heightConstraint =
Height
;
Shapes\RoundRectangle.cs (1)
41
var height =
Height
;
Shapes\Shape.cs (1)
462
var height =
Height
;
VisualElement\VisualElement.cs (3)
70
static readonly BindablePropertyKey HeightPropertyKey = BindableProperty.CreateReadOnly(nameof(
Height
), typeof(double), typeof(VisualElement), -1d,
73
/// <summary>Bindable property for <see cref="
Height
"/>.</summary>
1764
SizeAllocated(Width,
Height
);
Microsoft.Maui.Controls.Compatibility (15)
iOS\CollectionView\ItemsViewController.cs (1)
170
var itemsViewHeight = ItemsView.
Height
;
iOS\CollectionView\VerticalSupplementaryView.cs (2)
29
var height = VisualElementRenderer.Element.
Height
> 0
30
? VisualElementRenderer.Element.
Height
: measure.Request.Height;
iOS\EventTracker.cs (1)
333
var scaledPoint = new Point(originPoint.X / view.Width, originPoint.Y / view.
Height
);
iOS\Renderers\CarouselPageRenderer.cs (1)
403
Subviews[0].Frame = new RectangleF(0, 0, (float)Element.Width, (float)Element.
Height
);
iOS\Renderers\LabelRenderer.cs (2)
123
Control.Frame = new RectangleF(0, 0, (nfloat)Element.Width, (nfloat)Element.
Height
);
136
yOffset = (nfloat)(Element.
Height
- labelHeight);
iOS\Renderers\PhoneFlyoutPageRenderer.cs (1)
129
if (Element.Width == -1 && Element.
Height
== -1)
iOS\Renderers\TabbedRenderer.cs (1)
142
View.Frame = new CoreGraphics.CGRect((float)Element.X, (float)Element.Y, (float)Element.Width, (float)Element.
Height
);
iOS\Shapes\RectangleRenderer.cs (2)
65
if (Element.
Height
> 0)
67
var radiusY = ValidateRadius(Element.RadiusY / Element.
Height
);
iOS\Shapes\ShapeRenderer.cs (2)
47
_height = Element.
Height
;
61
_height = Element.
Height
;
iOS\ViewRenderer.cs (1)
84
Control.Frame = new RectangleF(0, 0, (nfloat)Element.Width, (nfloat)Element.
Height
);
iOS\VisualElementTracker.cs (1)
210
var height = (float)view.
Height
;
Microsoft.Maui.Controls.Foldable (2)
TwoPaneView.cs (1)
316
UpdateMode(Width,
Height
, invalidateLayout);
TwoPaneViewLayoutGuide.cs (1)
57
UpdateLayouts(layout.Width, layout.
Height
);