2 writes to _mockWidth
Microsoft.Maui.Controls (2)
VisualElement\VisualElement.cs (2)
1474 (_mockX, _mockY, _mockWidth, _mockHeight) = bounds; 1534 internal void UnmockBounds() => _mockX = _mockY = _mockWidth = _mockHeight = -1;
4 references to _mockWidth
Microsoft.Maui.Controls (4)
VisualElement\VisualElement.cs (4)
582 get { return IsMocked() ? new Rect(_mockX, _mockY, _mockWidth, _mockHeight) : _frame; } 874 get { return _mockWidth == -1 ? (double)GetValue(WidthProperty) : _mockWidth; } 1485 return _mockX != -1 || _mockY != -1 || _mockWidth != -1 || _mockHeight != -1;