2 writes to _mockWidth
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 _mockWidth
Microsoft.Maui.Controls (4)
VisualElement\VisualElement.cs (4)
579
get { return IsMocked() ? new Rect(_mockX, _mockY,
_mockWidth
, _mockHeight) : _frame; }
871
get { return
_mockWidth
== -1 ? (double)GetValue(WidthProperty) :
_mockWidth
; }
1482
return _mockX != -1 || _mockY != -1 ||
_mockWidth
!= -1 || _mockHeight != -1;