I have an InkCanvas that works in the InkCanvasEditingMode.Ink. But I want to erase the entire stroke when the user presses the right button. Help me with an advise, please?
Asked
Active
Viewed 1,710 times
1 Answers
0
I'm not sure which stroke you are willing to erase, but InkCanvas has a "Stokes" property that contains all strokes of the canvas. For example, to remove all strokes from canvas:
inkCanvas.Strokes.Clear()
Now all you have to do is to puck the relevant one.

Philip Derbeko
- 524
- 1
- 4
- 10