I was wonder if there was any method in which I can access an element which the user removes. For example when the InkCanvas is set to Select users can select elements and press delete to remove them. Is there any way of getting to this item if they deleted it? Any help is much appreciated.
Cheers,
Nilu
Update
@Drew: Not really. Say for example I have an image on the InkCanvas. I have some strokes attached to this image. If the user selects the image and then deletes it, I want the stroke开发者_运维技巧s to be removed.
Does handling the StrokeErasing event not give you what you want? You should be able to access the Stroke being erased from the InkCanvasStrokeErasingEventArgs::Stroke property.
精彩评论