The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
InkCanvas::StrokeErasing Event
.NET Framework (current version)
Occurs just before a user erases a stroke.
Assembly: PresentationFramework (in PresentationFramework.dll)
Handle this event when you want to check whether a stroke should be erased. Set the Cancel property to true if you want to prevent the stroke from being erased. You can use this technique when the EditingMode or EditingModeInverted property is set to EraseByStroke or EraseByPoint.
.NET Framework
Available since 3.0
Available since 3.0
Show: