If I set block.Category = “Pane” then Delete action not work properly because SelectionDeletingEvent return true.
If I change category name then delete work again.
Note the Сut action work correctly and remove block with the “Pane” category.
GoXam does not establish any Diagram.SelectionDeleting event handler.
I believe your application must have one that is setting DiagramEventArgs.Handled to true.
Or perhaps there is an override of a deletion-related method that is causing that behavior.
I cannot explain why CommandHandler.Cut() is working when CommandHandler.Delete() does not, because by default Cut just calls Copy() followed by Delete().
Thank you
It’s my bug. I forgot about I subscribe for SelectionDeleting event.