2 writes to _cachedStylusShape
PresentationFramework (2)
MS\Internal\Ink\EraserBehavior.cs (2)
277_cachedStylusShape = InkCanvas.EraserShape; 333_cachedStylusShape = null;
6 references to _cachedStylusShape
PresentationFramework (6)
MS\Internal\Ink\EraserBehavior.cs (6)
164bool isPointEraserCursorValid = _cachedStylusShape != null; 170&& ( _cachedStylusShape.Width != InkCanvas.EraserShape.Width 171|| _cachedStylusShape.Height != InkCanvas.EraserShape.Height 172|| _cachedStylusShape.Rotation != InkCanvas.EraserShape.Rotation 173|| _cachedStylusShape.GetType() != InkCanvas.EraserShape.GetType()) ) 297_cachedPointEraserCursor = PenCursorManager.GetPointEraserCursor(_cachedStylusShape, xf, dpi.DpiScaleX, dpi.DpiScaleY);