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