2 writes to _mockWidth
Microsoft.Maui.Controls (2)
VisualElement\VisualElement.cs (2)
1512
_mockWidth
= bounds.Width;
1569
internal void UnmockBounds() => _mockX = _mockY =
_mockWidth
= _mockHeight = -1;
4 references to _mockWidth
Microsoft.Maui.Controls (4)
VisualElement\VisualElement.cs (4)
586
get { return IsMocked() ? new Rect(_mockX, _mockY,
_mockWidth
, _mockHeight) : _frame; }
908
get { return
_mockWidth
== -1 ? (double)GetValue(WidthProperty) :
_mockWidth
; }
1519
return _mockX != -1 || _mockY != -1 ||
_mockWidth
!= -1 || _mockHeight != -1;