问题 I have sketchpad as InkCanvas ; I want to change size of eraser so I've written: Private Sub Sketchpad_KeyDown(sender As System.Object, e As System.Windows.Input.KeyEventArgs) Handles Sketchpad.KeyDown If e.Key = Key.OemMinus Then ' Decrease size of Eraser to 5*5 Sketchpad.EraserShape = New RectangleStylusShape(5, 5) End If If e.Key = Key.OemPlus Then ' Increase size of Eraser to 50*50 Sketchpad.EraserShape = New RectangleStylusShape(50, 50) End If If e.Key = Key.I Then ' Change editing mode