2 writes to _cachedStylusShape
PresentationFramework (2)
src\Framework\MS\Internal\Ink\EraserBehavior.cs (2)
291_cachedStylusShape = InkCanvas.EraserShape; 347_cachedStylusShape = null;
6 references to _cachedStylusShape
PresentationFramework (6)
src\Framework\MS\Internal\Ink\EraserBehavior.cs (6)
178bool isPointEraserCursorValid = _cachedStylusShape != null; 184&& ( _cachedStylusShape.Width != InkCanvas.EraserShape.Width 185|| _cachedStylusShape.Height != InkCanvas.EraserShape.Height 186|| _cachedStylusShape.Rotation != InkCanvas.EraserShape.Rotation 187|| _cachedStylusShape.GetType() != InkCanvas.EraserShape.GetType()) ) 311_cachedPointEraserCursor = PenCursorManager.GetPointEraserCursor(_cachedStylusShape, xf, dpi.DpiScaleX, dpi.DpiScaleY);