1 write to Height
Microsoft.Maui.Controls (1)
VisualElement\VisualElement.cs (1)
1770
Height
= bounds.Height;
32 references to Height
Microsoft.Maui.Controls (30)
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)
398
SizeAllocated(Width,
Height
);
593
double h = Math.Max(0,
Height
- Padding.VerticalThickness);
798
if (logicalChildren.Count == 0 || Width <= 0 ||
Height
<= 0 || !IsPlatformStateConsistent)
ScrollView\ScrollView.cs (7)
64
var scrollBounds = new Rect(ScrollX, ScrollY, Width,
Height
);
65
var itemBounds = new Rect(x, y, item.Width, item.
Height
);
84
y = y -
Height
/ 2 + item.
Height
/ 2;
88
y = y -
Height
+ item.
Height
;
305
heightConstraint =
Height
;
Shapes\RoundRectangle.cs (1)
41
var height =
Height
;
Shapes\Shape.cs (1)
462
var height =
Height
;
VisualElement\VisualElement.cs (5)
74
static readonly BindablePropertyKey HeightPropertyKey = BindableProperty.CreateReadOnly(nameof(
Height
), typeof(double), typeof(VisualElement), -1d,
77
/// <summary>Bindable property for <see cref="
Height
"/>.</summary>
1768
var previousHeight =
Height
;
1771
if (previousHeight !=
Height
|| previousWidth != Width)
1773
SizeAllocated(Width,
Height
);
Microsoft.Maui.Controls.Foldable (2)
TwoPaneView.cs (1)
316
UpdateMode(Width,
Height
, invalidateLayout);
TwoPaneViewLayoutGuide.cs (1)
57
UpdateLayouts(layout.Width, layout.
Height
);