If you set TreeEditingSettings AllowDeletion="True", the tree deletes. But I can't find any event to respond to that delete. So the item disappears from the tree, but there is no event triggered so that I can display a confirm message, and no event triggered so that I can do the delete in the view model.
Well, in the view model I can catch the change event on the collection, but I can't use that to display a confirm message.
What am I missing?
Hi,
You are right, there are no events on the XamDataTree that are fired when deletion is performed.
Maybe you can hook up to KeyUp event of the XamDataTree and check if it was the Delete key.
HTH,