2 writes to _mockHeight
Microsoft.Maui.Controls (2)
VisualElement\VisualElement.cs (2)
1471
(_mockX, _mockY, _mockWidth,
_mockHeight
) = bounds;
1531
internal void UnmockBounds() => _mockX = _mockY = _mockWidth =
_mockHeight
= -1;
4 references to _mockHeight
Microsoft.Maui.Controls (4)
VisualElement\VisualElement.cs (4)
579
get { return IsMocked() ? new Rect(_mockX, _mockY, _mockWidth,
_mockHeight
) : _frame; }
592
get { return
_mockHeight
== -1 ? (double)GetValue(HeightProperty) :
_mockHeight
; }
1482
return _mockX != -1 || _mockY != -1 || _mockWidth != -1 ||
_mockHeight
!= -1;